BE-SPAN/node_modules/es5-ext/array/of/is-implemented.js
githubna-ilham 722cd440e8 first commit
2024-10-20 22:04:16 +07:00

9 lines
198 B
JavaScript

"use strict";
module.exports = function () {
var of = Array.of, result;
if (typeof of !== "function") return false;
result = of("foo", "bar");
return Boolean(result && result[1] === "bar");
};