DEV Community

Discussion on: If Javascript Is Single Threaded, How Is It Asynchronous?

Collapse
 
ignore_you profile image
Alex

Unfortunatelly, this cute sorting algorithm doesn't work on values that < 1.

Collapse
 
karataev profile image
Eugene Karataev

It also poorly works with floats (ex. [1.5, 1.4, 1.3, 1.2, 1.1]) and big numbers 😄