Media Summary: Set(), slice(), spread syntax, and more in this one. this one uses the Set() constructor and spread syntax (...) kata link: ... this one uses a pair of for loops, the Math.min() function, and more kata link: ...
Codewars 8 Kyu Return Two Highest Values In List Javascript - Detailed Analysis & Overview
Set(), slice(), spread syntax, and more in this one. this one uses the Set() constructor and spread syntax (...) kata link: ... this one uses a pair of for loops, the Math.min() function, and more kata link: ... another .split() video; seems like .split() is a pretty common method. reworkded version: here we use the Set() constructor and spread syntax. this one uses a for loop and the Array.from() method kata link: ...
reworked version: this one's got Array.from(), map(), and parseInt() updated version: I'm taking care of the Powers of this one has the reduce() method and the Math.floor() function. this one uses a for loop, an if...else statement, and more kata link: ... updated version: here's a fun way to use the filter() method. standard example of using the reduce() method.
this one uses the toUpperCase and split() methods, and more kata link: ... this one uses the Number() constructor, the unary plus (+) operator, and more kata link: ...