Media Summary: standard example of using the reduce() method. this one has the reduce() method and the Math.floor() function. this one uses the sort(), reduce(), and pop() methods kata link: ...
Codewars Javascript Sum Arrays - Detailed Analysis & Overview
standard example of using the reduce() method. this one has the reduce() method and the Math.floor() function. this one uses the sort(), reduce(), and pop() methods kata link: ... here we use reduce() and the unary plus operator. a sneaky joke kata using Math.max() and Math.min() In this puzzle we're going to see .sort() do something funky-stanky, get over it with .reverse() and learn a little math trick in the end.
standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... Code along with me as we solve 'CSV representation of this one uses the trim() method trim() info: ... this one uses a for loop and the toFixed() method kata link: ... this one uses a for() loop, an if() statement, and the join() method kata link: ...