PHP Classes

File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/lib/utils/index-of.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/src/lib/utils/index-of.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/lib/utils/index-of.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Coffee CMS
Content management system using MVC based themes
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 };