Media Summary: updated version: this one uses Math.sqrt(), Math.round(), and Math.pow() updated version: A little max, a little min kata link: ... updated version: finding the slope with the help of the String() constructor String() constructor info: ...
Archived Codewars 8 Kyu Square - Detailed Analysis & Overview
updated version: this one uses Math.sqrt(), Math.round(), and Math.pow() updated version: A little max, a little min kata link: ... updated version: finding the slope with the help of the String() constructor String() constructor info: ... reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2. updated version: a quick review of ternary operations and the remainder operator. updated version: I'm taking care of the Powers of 2 kata kata link: ...
another example of using reduce() to get an average. updated version: here we're gonna use .split(), .reduce(), and .charCodeAt()