Last active
September 3, 2015 22:20
-
-
Save robwormald/5fe26a3ee0b3b61ca8e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = [{q : 2}, {q : 3}]; | |
var qs = a.map(function(obj){ return obj.q }); | |
//how will i use a 'for' loop to return a new array like that will look like this [2, 3] ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment