Media Summary: just reverse() it...plus some other stuff. standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... some Number() construction with a lot of test() kata link:
Overview

Code Wars C Coding Challenge 8 Kyu Swap Values - Detailed Analysis

just reverse() it...plus some other stuff. standard if statement and for loop; i couldnt find a reliable one-liner kata link: ... some Number() construction with a lot of test() kata link: this one uses the ternary operator kata link: using a switch statement then using the repeat() and trim() methods switch statement info: ... this is done with a template literal and the toFixed() method.

we use Math.abs() and the String() constructor Math.abs() info: ... we solve this one with a simple filter() method.

Gallery

Photo Gallery

Related

Related Patients