6 lines
142 B
JavaScript
6 lines
142 B
JavaScript
//// [restElementWithNullInitializer.ts]
|
|
function foo([...r] = null) { }
|
|
|
|
|
|
//// [restElementWithNullInitializer.js]
|
|
function foo(_a) { }
|