is-implemented.js 198 B

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