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

8 lines
169 B
JavaScript

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