Plato on Github
Report Home
node_modules/es5-ext/test/array/#/@@iterator/shim.js
Maintainability
59.97
Lines of code
9
Difficulty
8.47
Estimated Errors
0.13
Function weight
By Complexity
By SLOC
'use strict'; exports.__generic = function (t, a) { var iterator = t.call(this); a.deep(iterator.next(), { value: '1', done: false }); a.deep(iterator.next(), { value: '2', done: false }); a.deep(iterator.next(), { value: '3', done: false }); a.deep(iterator.next(), { value: undefined, done: true }); };