Media Summary: updated version: a light discussion on element.attribute while we use Math.hypot() this one uses the Math.hypot() static method kata link: updated version: finding the slope with the help of the String() constructor String() constructor info: ...
Archived Codewars 8 Kyu Geometry Basics Distance Between Points In 2d Javascript - Detailed Analysis & Overview
updated version: a light discussion on element.attribute while we use Math.hypot() this one uses the Math.hypot() static method kata link: updated version: finding the slope with the help of the String() constructor String() constructor info: ... updated version: this one uses Math.sqrt(), Math.round(), and Math.pow() updated version: Let's get it kata link: ... this one uses some math and the conditional (ternary) operator kata link: ...
updated version: a little bit about class prototype attributes class info: ... this is how to use the Math.abs() and the Math.sign() functions. this one uses the String() constructor, destructuring assignment syntax, and the conditional (ternary) operator kata link: ... using the test() method to get the job done. a simple use of the toFixed() method and the unary plus (+) sign. updated version: finding the price with Math.floor()
a funky way to access an object when using arrow functions.