Media Summary: we use the reduce() method in this one reduce() info: ... a nice one liner featuring an object and Math.floor() this one uses the this keyword kata link:
Codewars 8 Kyu Grasshopper Array - Detailed Analysis & Overview
we use the reduce() method in this one reduce() info: ... a nice one liner featuring an object and Math.floor() this one uses the this keyword kata link: another example of the ternary operator in action. this one uses the sum of integers formula kata link: this one uses index accessing of a pair of strings kata link: ...
a refresher on the remainder operator (modulus) here we use the push() method and spread syntax (...) push() info: ... here we use reduce() and the unary plus operator. using the join() method to make it work join() info: ... an example of template literals in action template literals info: ...