/
eb
/
Surf
Обзор
Документация
Войти
/
eb
/
Surf
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/ext/test/global-this/implementation.js
13 строк
510 B
EvgeniyBudaev
Initial commit
17 фев 2020, 09:02
17 фев 2020, 09:02
bb6f06f
Код
Авторство
О чём код?
"use strict"; var isObject = require("type/object/is") , assert = require("chai").assert , globalThis = require("../../global-this/implementation"); describe("global-this/implementation", function () { it("Should be an object", function () { assert(isObject(globalThis)); }); it("Should be a global object", function () { assert.equal(globalThis.Array, Array); }); it("Internal resolution should not introduce side-effects", function () { assert(!("__global__" in Object.prototype)); }); });