Created
April 3, 2018 15:56
-
-
Save LearningMaterial/859c7fa43911ff20dda2a2e9ee29ee2f 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
const ages = [19, 4, 32, 18, 17, 12, 9, 14, 15]; | |
const old = ages.filter(age => age >= 18); | |
console.log(old); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment