// Tests whether some element in the array passes the test
// implemented by the provided function. specialized version
// without support for callback shorthands and `this` binding.

function some (arr, fn) {
  var i = -1
  var len = arr.length

  while (++i < len) {
    if (fn(arr[i], i, arr)) return true
  }

  return false
}

module.exports = some

@@ -203,16 +203,65 @@
 , fn) %7B%0A
+  var res = false%0A  if (arr == null) return res%0A%0A
   var i 
@@ -343,19 +343,44 @@
 r)) 
-return true
+%7B%0A      res = true%0A      break%0A    %7D
 %0A  %7D
@@ -390,21 +390,19 @@
  return 
-false
+res
 %0A%7D%0A%0Amodu

update array/some — handle null/undefined