* Creates a new object without a prototype. This object is useful for lookup without having to * guard against prototypically inherited properties via hasOwnProperty. * * Related micro-benchmarks: * - http://jsperf.com/object-create2 * - http://jsperf.com/proto-map-lookup/2 * - http://jsperf.c
()
| 2203 | * @returns {Object} |
| 2204 | */ |
| 2205 | function createMap() { |
| 2206 | return Object.create(null); |
| 2207 | } |
| 2208 | |
| 2209 | function stringify(value) { |
| 2210 | if (value == null) { // null || undefined |
no outgoing calls
no test coverage detected