5 lines
165 B
TypeScript
5 lines
165 B
TypeScript
//// [restElementWithBindingPattern2.ts]
|
|
var [...{0: a, b }] = [0, 1];
|
|
|
|
//// [restElementWithBindingPattern2.js]
|
|
var _a = [0, 1].slice(0), a = _a[0], b = _a.b;
|