Media Summary: this is how we round down with Math.floor() this one uses the ternary operator kata link: Pirate theme with some Object.values() and .includes() mixed in kata link: ...
Codewars 8 Kyu Holiday Viii Duty Free Javascript - Detailed Analysis & Overview
this is how we round down with Math.floor() this one uses the ternary operator kata link: Pirate theme with some Object.values() and .includes() mixed in kata link: ... another example of using template literals with ternary operators. sooner or later we'll be ternary operation masters. this one uses the object prototype mechanism kata link:
a nice one liner featuring an object and Math.floor() another .split() video; seems like .split() is a pretty common method. we use .test() and regex in this one kata link: we use map(), test(), and String.fromCharCode() here. another example of .split(), .map(), and .join() reworked version: this one is all about .find() and Number.isInteger()
rounding with the toFixed() method and converting to a number with the unary plus (+) operator toFixed() info: ...