Media Summary: template literals, map(), Array() constructor, and more. this one uses an if statement and the conditional (ternary) operator kata link: ... another example of using Array.from() to count by x.
Overview

Codewars 8 Kyu Multiplication Table For Number Javascript - Detailed Analysis

template literals, map(), Array() constructor, and more. this one uses an if statement and the conditional (ternary) operator kata link: ... another example of using Array.from() to count by x. we solve this one with a simple filter() method. standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... a little parseFloat() action does the trick.

using the replace() method with some regex replace() info: ... using the test() method and this to check if it's a single digit.

Gallery

Photo Gallery

Related

Related Patients