Skip to content

Instantly share code, notes, and snippets.

@ahmeturganci
Created May 27, 2019 05:27
Show Gist options
  • Select an option

  • Save ahmeturganci/e63448c0fc828af0c416c9c4d1d3139f to your computer and use it in GitHub Desktop.

Select an option

Save ahmeturganci/e63448c0fc828af0c416c9c4d1d3139f to your computer and use it in GitHub Desktop.
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