JSTQL-JS-Transform/output_testing/1183error.todo.try-catch-with-throw.js

9 lines
No EOL
112 B
JavaScript

function Component(props) {
let x;
try {
throw [];
} catch (e) {
e |> x.push(%);
}
return x;
}