Compare Revisions

Array.prototype.map()

Revision 1689:

Revision 1689 by gr8can8dian on

Revision 1690:

Revision 1690 by gr8can8dian on

Title:
Array.prototype.map()
Array.prototype.map()
Slug:
JavaScript/Reference/Global_Objects/Array/map
JavaScript/Reference/Global_Objects/Array/map
Tags:
javascript, ECMAScript5, "JavaScript 1.6"
javascript, ECMAScript5, "JavaScript 1.6"
Content:

Revision 1689
Revision 1690
n173  var replace = single.replace(/o/g, 'e');  n173  var result = single.replace(/o/g, 'e');  
n175    replace += 'se';n175    result += 'se';
t177  return replacet177  return result

Back to History