Media Summary: creating an array with the Array.from() method. this one uses some math and the conditional (ternary) operator kata link: ... this one uses the split() and filter methods with regex character classes split() info: ...
Codewars 8 Kyu Count The Monkeys Javascript - Detailed Analysis & Overview
creating an array with the Array.from() method. this one uses some math and the conditional (ternary) operator kata link: ... this one uses the split() and filter methods with regex character classes split() info: ... we use map(), test(), and String.fromCharCode() here. this one uses the object prototype mechanism kata link: we use the .from() thing as well as some .join() action in this one.
this one uses the Number() constructor, the unary plus (+) operator, and more kata link: ... this is an example of when to use Math.log() this one uses the replace() method and regex kata link: accessing an array using a remainder operator and knowledge of classes classes info: ... thsi one uses a for loop and the reduce() method kata link: ... this one uses the filter() method and the Boolean() constructor kata link: ...
a deceptively simple example using array properties.