mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
299 B
TypeScript
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']();
|