TypeScript/tests/baselines/reference/booleanPropertyAccess.js

11 lines
195 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [booleanPropertyAccess.ts]
var x = true;
var a = x.toString();
var b = x['toString']();
//// [booleanPropertyAccess.js]
var x = true;
var a = x.toString();
var b = x['toString']();