is-implemented.js 247 B

123456789
  1. "use strict";
  2. module.exports = function () {
  3. var from = Array.from, arr, result;
  4. if (typeof from !== "function") return false;
  5. arr = ["raz", "dwa"];
  6. result = from(arr);
  7. return Boolean(result && (result !== arr) && (result[1] === "dwa"));
  8. };