Media Summary: this one uses the this keyword kata link: another example of the ternary operator in action. updated version: a little bit about class prototype attributes class info: ...
Codewars 8 Kyu Grasshopper Terminal Game Turn Function Javascript - Detailed Analysis & Overview
this one uses the this keyword kata link: another example of the ternary operator in action. updated version: a little bit about class prototype attributes class info: ... using Object.assign() and Array.from() to complete some rooms. we use the reduce() method in this one reduce() info: ... reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2.
this one uses aa for loop and template literals kata link: this one uses the sum of integers formula kata link: this one we use the concat(), sort(), and join() methods as well as spread syntax (...) concat() info: ... another easy one made hard with Math.max(), split(), and more! a refresher on the remainder operator (modulus) this one has us debugging some temperature code kata link: ...