Hackerrank Solution: for-of loop in JavaScript

In this post I’m going to show you one possible solution of one of the 10 Days of JavaScript challenges from Hackerrank. We’re going to use for-of loop to first print vowels and then consonants in a given string. Challenge Full description of the challenge: 10 Days of JavaScript. Day 2: loops. Solution and explanation … Read more