Codewars 8 Kyu Grasshopper Variable Assignment Debug Javascript - Detailed Analysis
updated version: yet another example of the classic template literal and ternary operator ... this one uses aa for loop and template literals kata link: a nice one liner featuring an object and Math.floor() updated version: oh this one is very basic. we use the reduce() method in this one reduce() info: ... a refresher on the remainder operator (modulus)
reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2.
Photo Gallery



















