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