Media Summary: using Object.assign() and Array.from() to complete some a nice one liner featuring an object and Math.floor() we use the reduce() method in this one reduce() info: ...
Codewars 8 Kyu Grasshopper Create The Rooms Javascript - Detailed Analysis & Overview
using Object.assign() and Array.from() to complete some a nice one liner featuring an object and Math.floor() we use the reduce() method in this one reduce() info: ... this one uses the this keyword kata link: this one has us debugging some temperature code kata link: ... an example of template literals in action template literals info: ...
this one uses aa for loop and template literals kata link: another example of the ternary operator in action. a bit about classes and template literals classes info: reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2. updated version: yet another example of the classic template literal and ternary operator ... this one uses a for loop and the Array.from() method kata link: ...