Media Summary: this one uses an if statement and the conditional (ternary) operator kata link: ... standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... template literals, map(), Array() constructor, and more.
Codewars Javascript Multiply - Detailed Analysis & Overview
this one uses an if statement and the conditional (ternary) operator kata link: ... standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... template literals, map(), Array() constructor, and more. updated version: another ternary operation with a remainder operator. Code along with me as we solve 'Sum of Multiples', a Level 8 kyu # this is a straight look into how to make a simple function.
Code along with me as we solve 'Function 3 -