Media Summary: this one uses the this keyword kata link: updated version: a little bit about class prototype attributes class info: ... another example of the ternary operator in action.
Codewars 8 Kyu Grasshopper Terminal Game 1 Javascript - Detailed Analysis & Overview
this one uses the this keyword kata link: updated version: a little bit about class prototype attributes class info: ... another example of the ternary operator in action. we use the reduce() method in this one reduce() info: ... using Object.assign() and Array.from() to complete some rooms. a nice one liner featuring an object and Math.floor()
we use .test() and regex in this one kata link: this one uses the Math.max() function kata link: this one uses the String() constructor, spread syntax (...), and more kata link: ... reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+ a bit about classes and template literals classes info: updated version: Let's get it kata link: ...
updated version: finding the slope with the help of the String() constructor String() constructor info: ... this one uses the sum of integers formula kata link: some Math.log() for ya logs info: Math.log() info: ...