PHP Classes

File: upload/themes/bb_simple/assets/moment/src/lib/utils/index-of.js

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/themes/bb_simple/assets/moment/src/lib/utils/index-of.js   Download  
File: upload/themes/bb_simple/assets/moment/src/lib/utils/index-of.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 2 years ago
Size: 342 bytes
 

Contents

Class file image Download
var indexOf; if (Array.prototype.indexOf) { indexOf = Array.prototype.indexOf; } else { indexOf = function (o) { // I know var i; for (i = 0; i < this.length; ++i) { if (this[i] === o) { return i; } } return -1; }; } export { indexOf as default };