Media Summary: we use the reduce() method in this one reduce() info: ... this one uses the this keyword kata link: another example of the ternary operator in action.
Codewars 8 Kyu Grasshopper If Else Syntax Javascript - Detailed Analysis & Overview
we use the reduce() method in this one reduce() info: ... this one uses the this keyword kata link: another example of the ternary operator in action. this one has us debugging some temperature code kata link: ... a nice one liner featuring an object and Math.floor() using Object.assign() and Array.from() to complete some rooms.
reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2.