Media Summary: this one uses if statements and the conditional (ternary) operator kata link: ... updated version: a simple ternary operation. using the typeof operator and includes() method typeof info: ...
Codewars 8 Kyu Calculate Bmi Javascript - Detailed Analysis & Overview
this one uses if statements and the conditional (ternary) operator kata link: ... updated version: a simple ternary operation. using the typeof operator and includes() method typeof info: ... some Number() construction with a lot of test() kata link: a funky example of using the reduce() method. gettin wild with template literals, the charCodeAt() method, and the UTF-16 chart.
a great example of how to use array.prototype.includes() thsi one uses a for loop and the reduce() method kata link: ... rounding with the toFixed() method and converting to a number with the unary plus (+) operator toFixed() info: ... a nice one liner featuring an object and Math.floor() this one uses the Number() constructor and the String() constructor kata link: ... a for loop with toFixed() method and the unary plus (+) toFixed() info: ...