I wonder why editor complains about missing parens in catch of try/catch.
This will not be allowed to run:
try {
    JSON.stringify(null) 
} catch {
    console.error('nope')
}
This will:
try {
    JSON.stringify(null) 
} catch (e) {
    console.error('nope')
}
Both valid according to MDN try...catch - JavaScript | MDN for both, modern browsers and Node > 10