Media Summary: using the replace() method with some regex replace() info: ... we solve this one with a simple filter() method. template literals, map(), Array() constructor, and more.
Codewars 8 Kyu Get Number - Detailed Analysis & Overview
using the replace() method with some regex replace() info: ... we solve this one with a simple filter() method. template literals, map(), Array() constructor, and more. this one uses some math and the conditional (ternary) operator kata link: ... this one uses the filter() and toFixed() method along with the unary plus (+) filter() info: ... another example of using template literals with ternary operators.