Guest User

Untitled

a guest
Jan 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. var a = [1,2,[],'b',5]
  2. a.sort(b=>1)
  3. give this:
  4. a=[5,'b',[],2,1]
Add Comment
Please, Sign In to add comment