Media Summary: in this one, we use the parseInt() function. another .split() video; seems like .split() is a pretty common method. this one uses an if statement and the conditional (ternary) operator kata link: ...
Codewars 8 Kyu Convert The Given Binary Number Into Decimal - Detailed Analysis & Overview
in this one, we use the parseInt() function. another .split() video; seems like .split() is a pretty common method. this one uses an if statement and the conditional (ternary) operator kata link: ... another example of .split(), .map(), and .join() this one uses the ternary operator kata link: gets it done with the toFixed() method and the unary plus (+) operator toFixed() info: ...
reworked version: another simple ternary operator example.