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