fnGlobalObject.js (439B)
1 // Copyright (C) 2017 Rick Waldron. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 /*--- 4 description: > 5 Including fnGlobalObject.js will expose a function: 6 7 fnGlobalObject 8 9 fnGlobalObject returns a reference to the global object. 10 11 includes: [fnGlobalObject.js] 12 ---*/ 13 14 var gO = fnGlobalObject(); 15 16 assert(typeof gO === "object"); 17 assert.sameValue(gO, this); 18 19 reportCompare(0, 0);