Created
May 27, 2019 05:27
-
-
Save ahmeturganci/e63448c0fc828af0c416c9c4d1d3139f 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
| function vowelsAndConsonants(s) { | |
| var ww = ["a", "e", "i", "o",]; | |
| var len = s.length; | |
| var newArray = [len]; | |
| for (var i = 0; i <= len; i++) { | |
| if (ww[i] == s[i]) { | |
| newArray[0, s[i]] | |
| } | |
| debugger; | |
| console.log(newArray[i] + '\n'); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment