Media Summary: this one uses a while loop, an if statement, and the Math.round() static method kata link: ... updated version: this one uses Math.sqrt(), Math.round(), and Math.pow() Code along with me as we solve 'Area of a
Codewars Javascript Find Nearest Square Number - Detailed Analysis & Overview
this one uses a while loop, an if statement, and the Math.round() static method kata link: ... updated version: this one uses Math.sqrt(), Math.round(), and Math.pow() Code along with me as we solve 'Area of a Code along with me as we solve 'Geometry Basics: Distance between points in 2D', a Level 8 kyu # this one uses a for loop and the reduce() method kata link: ... updated version: a light discussion on element.attribute while we use Math.hypot()
updated version: First use map(), then use reduce()