I have started learning javascript a few days ago and I have a bad time understand what these lines:
var points = [40, 100, 1, 5, 25, 10];
points.sort(function(a, b){return b - a});
What is a
and b
equal to in this function?
Thank you very much for your help in advance