Media Summary: standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... reworked version: this one's got Array.from(), map(), and parseInt() a sneaky joke kata using Math.max() and Math.min()
Codewars 8 Kyu Sum Of Multiples Javascript - Detailed Analysis & Overview
standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... reworked version: this one's got Array.from(), map(), and parseInt() a sneaky joke kata using Math.max() and Math.min() this one uses the String() constructor, spread syntax (...), and more kata link: ... this how you find out what the whole array equals kata link: template literals, map(), Array() constructor, and more.
here we use reduce() and the unary plus operator. this one uses an if statement and the conditional (ternary) operator kata link: ... this is done with a template literal and the toFixed() method. this one uses the Math.max() function kata link: