You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the array contains only numbers, it will be sorted numerically. If it contains anything that isn't a number, all values are converted to strings before sorting
Bugfixes
Implicitly creating an array containing an object now works (d0be3e4, 82d7722)
e.g. a[0].thing = 2 where a is not defined
Array literals, object literals and function calls now copy primitives by value, instead of by reference (26c0305)
Stop array.pop() and array.popfirst() panicking on empty arrays (b0ef491)
num() now returns null instead of panicking if it can't parse a number (b0ef491)
Stopped the cli panicking if it's run with no arguments (912ed03)