mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
9 lines
146 B
JavaScript
9 lines
146 B
JavaScript
// Test a constructor when we're not executing
|
|
|
|
var a = 42;
|
|
function Foo() {}
|
|
if (false) a = new Foo();
|
|
if (false) a = new Foo;
|
|
|
|
result = a==42;
|