Media Summary: this one uses a for loop, some if statements, and the slice() method kata link: ... updated version: another way to use slice() another example of using Array.from() to count by x.
Codewars 8 Kyu Pick A Set Of First Elements Javascript - Detailed Analysis & Overview
this one uses a for loop, some if statements, and the slice() method kata link: ... updated version: another way to use slice() another example of using Array.from() to count by x. this one uses an if statement and the conditional (ternary) operator kata link: ... this one uses the reduce() method kata link: template literals, map(), Array() constructor, and more.
here we use reduce() and the unary plus operator. time to use the Array() constructor and the fill() method. this one uses the Number() constructor and the String() constructor kata link: ... gettin wild with template literals, the charCodeAt() method, and the UTF-16 chart.