/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/plugins/define-plugin-bigint/index.js
13 строк
482 B
Tobias Koppers
formating, use real big number
09 мар 2020, 12:59
09 мар 2020, 12:59
994b47f
Код
Авторство
О чём код?
it("should define BIGINT", function() { expect(BIGINT).toBe(9007199254740993n); expect(typeof BIGINT).toBe("bigint"); if (BIGINT !== 9007199254740993n) require("fail"); if (typeof BIGINT !== "bigint") require("fail"); }); it("should define ZERO_BIGINT", function() { expect(ZERO_BIGINT).toBe(0n); expect(typeof ZERO_BIGINT).toBe("bigint"); if (ZERO_BIGINT) require("fail"); if (ZERO_BIGINT !== 0n) require("fail"); if (typeof ZERO_BIGINT !== "bigint") require("fail"); });