Media Summary: standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... this one uses an if statement and the conditional (ternary) operator kata link: ... template literals, map(), Array() constructor, and more.
Codewars 8 Kyu Multiply Java - Detailed Analysis & Overview
standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... this one uses an if statement and the conditional (ternary) operator kata link: ... template literals, map(), Array() constructor, and more. Hello! In this video I'm going to show you how I solved one of the time to use the Array() constructor and the fill() method. we use Math.abs() and the String() constructor Math.abs() info: ...
a simple use of the toFixed() method and the unary plus (+) sign. this one uses the repeat() method kata link: updated version: another ternary operation with a remainder operator.