Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ["Java", "PHP", "C#", "JavaScript", "Ruby", "Perl", "HTML", "Go"].sort();
- // => ["C#", "Go", "HTML", "Java", "JavaScript", "PHP", "Perl", "Ruby"]
- [15, 41, 1, 75, 35, 100, 123, 1000].sort();
- // => [1, 100, 1000, 123, 15, 35, 41, 75]
Add Comment
Please, Sign In to add comment