code: function first(a, fn, scope) {
      for (var i = 0, l = a.length; i < l; i++) {
        if (fn.call(scope || null, a[i]))
          return a[i];
      }
      return;
    }
docs: Get first item of array returning true to given function