O'Reilly logo
  • Anne Vetto thinks this is interesting:

var names = ["David","Mike","Cynthia","Clayton","Bryan","Raymond"]; nums.sort(); print(nums); // Bryan,Clayton,Cynthia,David,Mike,Raymond

From

Cover of Data Structures and Algorithms with JavaScript

Note

typo, should be 'names.sort()' and 'print(names)'