TypeScript/tests/baselines/reference/stringLiteralPropertyNameWithLineContinuation1.js

11 lines
211 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [stringLiteralPropertyNameWithLineContinuation1.ts]
var x = {'text\
':'hello'}
x.text = "bar"
//// [stringLiteralPropertyNameWithLineContinuation1.js]
var x = { 'text\
': 'hello' };
2014-07-13 01:04:16 +02:00
x.text = "bar";