Plato on Github
Report Home
node_modules/es5-ext/test/array/#/clear.js
Maintainability
76.75
Lines of code
7
Difficulty
5.75
Estimated Errors
0.05
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { var x = [1, 2, {}, 4]; a(t.call(x), x, "Returns same array"); a.deep(x, [], "Empties array"); };