Media Summary: updated version: this one shows the .filter(Boolean) move. this one uses the filter() method and the Boolean() constructor kata link: ... we use the .from() thing as well as some .join() action in this one.
Archived Codewars 8 Kyu Counting Sheep Javascript - Detailed Analysis & Overview
updated version: this one shows the .filter(Boolean) move. this one uses the filter() method and the Boolean() constructor kata link: ... we use the .from() thing as well as some .join() action in this one. updated version: this one uses recursion to get the exponent recursion info: ... updated version: sometimes Math.floor() is all we need. updated version: a very standard use for reduce, no rhyme intended.
updated version: this one is about the Date() constructor, setHours() function, and some ... updated version: this one we use spread syntax (...) plus the concat(), Object.entries(), and filter() ... updated version: I'm taking care of the Powers of 2 kata kata link: ... updated version: get an average via reduce() updated version: Watch as I knock this one out kata link: ... this one has the Array() constructor as well as .fill() and .map()
reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2.