1. Computing

Discuss in my forum

Michael Morin

Mapping Arrays

By , About.com GuideAugust 30, 2012

Follow me on:

Say you want to double every number in a list, or transform every element of an array into something else.  You could iterate over the array and build a new array, or you could use the map method.  This is a method you really shouldn't skip learning about, it is very useful.

Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Related Articles
Top Related Searches jueves agosto

©2013 About.com. All rights reserved.