Re:The Curious Case of JavaScript’s `sort`
by gpvos on Wednesday April 13, 2016 @05:13PM
(#11492265)
Yeah, that's more or less what you get when you hack a language together in 10 days... Arrays in JS are just a special case of objects, which are just name-value hashmaps. Although they usually have some optimizations in their internal implementation.
I guess "Javascript: the Good Parts" is as good a place to start as any. It doesn't really go into the design decisions though.
I guess "Javascript: the Good Parts" is as good a place to start as any. It doesn't really go into the design decisions though.