prettier/tests/try/catch.js

26 lines
193 B
JavaScript

try {}
catch(
// comment
foo
) {}
try {}
catch(foo //comment
) {}
try {}
catch(
/* comment */ foo
) {}
try {}
catch(
foo /* comment */
) {}
try {}
catch(
foo
/* comment */
) {}