I wonder why people dont like js...

Submitted By: Anonymous on September 22, 2016

2

1

5094

I wonder why people dont like js... Source: www.reddit.com

It's a common issue with loosely typed languages, not knowing if you should be looking at them numerically or alphabetically.

Site Comments (1)

Please Signin or Signup to add a comment


0

September 23, 2016, 8:06 am

Oliver wrote:

try: [1001,101,1,2].sort((a, b) => a>b)