I have an array from strings and numbers. I need to sort the numbers or better to extract only the numbers in another array. Here is the example: I need to make it like this I used split(‘ ‘) method to separate them with comma but don’t know how to filter them for JS they all are strings. Answer This