Javascript Array toStrang( )

Description

Javascript Array toStrang( )


// Array Extensions file for Prototype Basics

//toString method
//must take the contents of an array and create a string
Array.prototype.toStrang = function( ) {
      return this.join(", ");
      /*from   w  w w . j a va2 s.c om*/
};



PreviousNext

Related