Media Summary: this one uses a for loop, some if statements, and the slice() method kata link: ... updated version: another way to use slice() this one uses the reduce() method kata link:
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() this one uses the reduce() method kata link: this one uses some math and the conditional (ternary) operator kata link: ... this one uses an if statement and the conditional (ternary) operator kata link: ... template literals, map(), Array() constructor, and more.
another example of using Array.from() to count by x. here we use reduce() and the unary plus operator. time to use the Array() constructor and the fill() method. this one uses the push() method push() info: ...