Neil Fraser
76b5517008
Use null-prototype objects for maps
...
A {} has a bunch of names already defined on it (like ‘toString’). When using an object as a map with arbitrary keys, it should not inherit from Object.prototype.
2021-06-09 11:41:42 -07:00
..
2019-07-09 16:00:27 -07:00
2021-06-09 11:41:42 -07:00
2021-05-27 21:30:26 -07:00
2021-06-08 06:08:12 -07:00
2020-02-11 13:27:20 -08:00
2020-02-11 13:27:20 -08:00
2021-02-23 11:23:28 -08:00
2019-07-08 13:29:43 -07:00
2019-07-08 13:29:43 -07:00
2021-05-27 21:30:26 -07:00
2020-12-21 13:38:13 -08:00
2020-03-25 15:47:27 -07:00
2021-03-18 11:28:20 -07:00
2019-07-08 13:29:43 -07:00
2021-02-23 11:23:28 -08:00
2019-10-18 02:25:25 -07:00
2020-03-25 15:47:27 -07:00
2021-05-27 21:30:26 -07:00
2019-07-08 13:29:43 -07:00
2019-07-08 13:29:43 -07:00
2020-08-12 12:28:36 -07:00
2019-07-08 13:29:43 -07:00
2020-06-15 11:17:12 -07:00