swc/tests/tsc-references/es6/destructuring/emptyObjectBindingPatternParameter01/input.ts/es5.1.normal/output.js

9 lines
193 B
JavaScript

function _throw(e) {
throw e;
}
// @declaration: true
function f(param) {
var param = param !== null ? param : _throw(new TypeError("Cannot destructure undefined"));
var x, y, z;
}