I\'m interested if there is any function like array_map or array_walk from php.
Don\'t need an for that travels all the array. I can do that for myself.
Javascript has a map() method. A good reference is at http://www.tutorialspoint.com/javascript/array_map.htm