This commit is contained in:
2025-12-28 19:50:27 -06:00
parent 5f471ee003
commit c432bc211f
4 changed files with 493 additions and 32 deletions

View File

@@ -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) {