dist/jsmart.js
function findInArray (arr, val) {
    if (Array.prototype.indexOf) {
      return arr.indexOf(val)
    }
    for (var i = 0; i < arr.length; ++i) {
      if (arr[i] === val) {
        return i
      }
    }
    return -1
  }
function findInArray (arr, val) {
    if (Array.prototype.indexOf) {
      return arr.indexOf(val)
    }
    for (var i = 0; i < arr.length; ++i) {
      if (arr[i] === val) {
        return i
      }
    }
    return -1
  }
function findInArray ( arr , val ) { if ( Array . prototype . indexOf ) { return arr . indexOf ( val ) } for ( var i = 0 ; i < arr . length ; ++ i ) { if ( arr [ i ] === val ) { return i } } return - 1 }
Find in array.
Find in array .