test262/implementation-contributed/javascriptcore/modules/execution-order-tree/1.js

5 lines
151 B
JavaScript

var global = (Function("return this"))();
if (typeof global.count !== 'undefined')
throw new Error(`bad value ${global.count}`);
global.count = 1;