Media Summary: another example of .split(), .map(), and .join() Code along with me as we solve 'Bin to Decimal', a Level some Number() construction with a lot of test() kata link:
Codewars 8 Kyu Fake Binary Javascript - Detailed Analysis & Overview
another example of .split(), .map(), and .join() Code along with me as we solve 'Bin to Decimal', a Level some Number() construction with a lot of test() kata link: in this one, we use the parseInt() function. using the reduce() and toString() methods with the typeof operator reduce() info: ... this one uses the reduce() method kata link:
updated version: get an average via reduce() a nice use of the sort() and reduce() methods. updated version: two .replace() videos in a row! how do you get so lucky? Classic way to find out if something is even or not kata link: this one uses the Math.abs() function kata link: