Created
July 31, 2020 20:16
-
-
Save lbvf50mobile/ddc3b0256baf6880856dd9a99b4a44da to your computer and use it in GitHub Desktop.
Codewars.com: Convert an array of strings to array of numbers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://www.codewars.com/kata/5783d8f3202c0e486c001d23 Convert an array of strings to array of numbers. | |
let toNumberArray = x => x.map(x => +x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment