mirror of https://github.com/tc39/test262.git
5 lines
134 B
JavaScript
5 lines
134 B
JavaScript
|
var global = (Function("return this"))();
|
||
|
if (global.count !== 5)
|
||
|
throw new Error(`bad value ${global.count}`);
|
||
|
global.count = 6;
|