implementation.js 510 B

12345678910111213
  1. "use strict";
  2. var isObject = require("type/object/is")
  3. , assert = require("chai").assert
  4. , globalThis = require("../../global-this/implementation");
  5. describe("global-this/implementation", function () {
  6. it("Should be an object", function () { assert(isObject(globalThis)); });
  7. it("Should be a global object", function () { assert.equal(globalThis.Array, Array); });
  8. it("Internal resolution should not introduce side-effects", function () {
  9. assert(!("__global__" in Object.prototype));
  10. });
  11. });