test262/implementation-contributed/javascriptcore/modules/execution-order-depth/3.js

7 lines
152 B
JavaScript

import "./2.js";
var global = (Function("return this"))();
if (global.count !== 2)
throw new Error(`bad value ${global.count}`);
global.count = 3;