11 lines
208 B
TypeScript
11 lines
208 B
TypeScript
//// [toStringOnPrimitives.ts]
|
|
true.toString()
|
|
var aBool = false;
|
|
aBool.toString();
|
|
1..toString();
|
|
|
|
//// [toStringOnPrimitives.js]
|
|
true.toString();
|
|
var aBool = false;
|
|
aBool.toString();
|
|
1..toString();
|