Media Summary: a sneaky joke kata using Math.max() and Math.min() standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... Code along with me as we solve 'Subtract the
Codewars 8 Kyu Sum The - Detailed Analysis & Overview
a sneaky joke kata using Math.max() and Math.min() standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... Code along with me as we solve 'Subtract the this how you find out what the whole array equals kata link: here we use reduce() and the unary plus operator. standard example of using the reduce() method.
this one uses the Number() constructor and the String() constructor kata link: ... this one uses the for...of statement kata link: this one has the reduce() method and the Math.floor() function. this one uses the ternary operator kata link: this is done with a template literal and the toFixed() method.