Plato on Github
Report Home
node_modules/es5-ext/array/from/is-implemented.js
Maintainability
65.04
Lines of code
9
Difficulty
11.14
Estimated Errors
0.07
Function weight
By Complexity
By SLOC
'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')); };