You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
243 B
10 lines
243 B
4 years ago
|
"use strict";
|
||
|
|
||
|
module.exports = function () {
|
||
|
var from = Array.from, arr, result;
|
||
|
if (typeof from !== "function") return false;
|
||
|
arr = ["raz", "dwa"];
|
||
|
result = from(arr);
|
||
|
return Boolean(result && result !== arr && result[1] === "dwa");
|
||
|
};
|