DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
perform a function on each element of array javascript
var new_array = old_array.map(function(e) { e.data = e.data.split(','); return e; });
PREVIOUS
NEXT
Tagged:
#perform
#function
#element
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit