Created
June 16, 2018 12:24
-
-
Save tvalentius/961eb0925b5c4d068a1d94e32b9549bb 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
for(var i = 0; i < array.length; i++) { | |
if( array[i] % 2 ) === 0 ) { | |
arrayBaru.push(array[i]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment