(no title)
wruza | 10 months ago
It also neither supports operator overloads (good thing in general) nor has a decimal type which is a must for human numbers like euros and kilograms. Rather it includes the mostly useless bigint.
It also does nothing to fix the mentioned quirks like sort(). It could e.g. include cmp(a, b), and propcmp(name[,cmp]) off the shelf so the issue wasn't wordy at least: nums.sort(cmp), objs.sort(propcmp("id")).
hajile|10 months ago
https://github.com/tc39/proposal-decimal
wruza|10 months ago
queenkjuul|10 months ago
wruza|10 months ago