How does it work?
This function is made to return the median (see the Wikipedia page for more info) of a list of numbers. So, let's take an example to see what the function will return to us:
[477, 360, 869, 334, 541]
// |
// v
477
How to use it?
As I said, you only need to give it a list of numbers, so to do what I just showed you, you'll need to write this:
$.median([477, 360, 869, 334, 541]) // 477
⚠️ Questions?
Don't hesitate to ask your questions ⁉️ in the issue part 😁