Media Summary: an example of using a method in a class classes info: ... this one uses some math and the conditional (ternary) operator kata link: ... another example of using Array.from() to count by x.
Codewars 8 Kyu Finish Guess The Number Game Javascript - Detailed Analysis & Overview
an example of using a method in a class classes info: ... this one uses some math and the conditional (ternary) operator kata link: ... another example of using Array.from() to count by x. this one uses the Math.floor() function kata link: template literals, map(), Array() constructor, and more. a funky example of using the reduce() method.
this one uses the split() and filter methods with regex character classes split() info: ... this one uses the reduce() method kata link: this one uses an if statement and the conditional (ternary) operator kata link: ... we solve this one with a simple filter() method. updated version: here's where you can find the formula to do this one: ... this one uses a for loop and the split() method kata link:
very slick example of split(), map(), join() methods and more. this is how to use the Math.abs() and the Math.sign() functions. rounding with the toFixed() method and converting to a