Files
tsgo/testdata/baselines/reference/submodule/conformance/booleanPropertyAccess.js

14 lines
299 B
TypeScript

//// [tests/cases/conformance/types/primitives/boolean/booleanPropertyAccess.ts] ////
//// [booleanPropertyAccess.ts]
var x = true;
var a = x.toString();
var b = x['toString']();
//// [booleanPropertyAccess.js]
"use strict";
var x = true;
var a = x.toString();
var b = x['toString']();