Javascript Array activate(method)

Description

Javascript Array activate(method)


Array.prototype.activate = function(method) {
  
  for(var count = 0; count < this.length; count++) {
    //from  ww w.  java2  s . c  o  m
    this[count][method]();
    
  }
  
}



PreviousNext

Related