Last active
July 12, 2019 05:34
-
-
Save brennancheung/f1a3152b841f2c09afb17c5eaf10a7e8 to your computer and use it in GitHub Desktop.
This file contains 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
const extractIds = items => { | |
let itemIds = [] | |
for (let i=0; i<items.length; i++) { | |
itemIds.push(items[i].id) | |
} | |
return itemIds | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment