bench
This commit is contained in:
@@ -177,6 +177,7 @@ array.reduce = function(arr, fn, initial, reverse) {
|
||||
|
||||
array.for = function(arr, fn, reverse, exit) {
|
||||
if (!_isArray(arr)) return null
|
||||
if (arr.length == 0) return null
|
||||
if (typeof fn != 'function') return null
|
||||
|
||||
if (reverse == true) {
|
||||
|
||||
Reference in New Issue
Block a user