ls lib/javascript/
JavaScript
The ECMAScript spec and V8.
- draft How V8 sorts arrays: TimSort in TorqueWhat Array.prototype.sort does in V8 12.9: string comparison by default, holes and undefined set aside, then a TimSort written in Torque with runs, binary insertion, merge invariants and galloping.
- draft Objects vs Map in V8: how keys are stored and orderedWhy a plain object lists integer keys in numeric order and a Map lists them in insertion order, and how V8 12.9 stores each: elements arrays, number dictionaries and a deterministic hash table.