TypeScript/tests/baselines/reference/booleanPropertyAccess.js
2014-07-12 17:30:19 -07:00

11 lines
195 B
TypeScript

//// [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']();