-
-
Save smamran/d85c9c3f25544d739b96 to your computer and use it in GitHub Desktop.
Revisions
-
s.m.amran revised this gist
Sep 22, 2015 . No changes.There are no files selected for viewing
-
coreyc created this gist
Sep 22, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ var inputObject = { 0: 'a', 1: 'b', 2: 'c' }; var values = []; Object.keys(inputObject).forEach(function(key) { values.push(inputObject[key]); return values; }); console.log(values);