6 lines
189 B
JavaScript
6 lines
189 B
JavaScript
|
//// [spaceBeforeQuestionMarkInPropertyAssignment.ts]
|
||
|
var x = {x ?: 1} // should not crash
|
||
|
|
||
|
//// [spaceBeforeQuestionMarkInPropertyAssignment.js]
|
||
|
var x = { x: 1 }; // should not crash
|