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.
You could consider using the Underscore.js library which provides standard functional operations.
Then the code would be as simple as:
_.map(array, function (x) { return x.toUpperCase(); });