Cycymomo
2/4/2014 - 11:05 AM

in_array.js

in_array.js

function in_array(needle, haystack) {
  return !!~haystack.indexOf(needle);
}