numbers = [4, 16, 9, 6]; function sort(a, b) { return a - b;} console.log(sort(numbers));
Standard input is empty
NaN
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!