* 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
()
| 1882 | * @returns {Object} |
| 1883 | */ |
| 1884 | function createMap() { |
| 1885 | return Object.create(null); |
| 1886 | } |
| 1887 | |
| 1888 | var NODE_TYPE_ELEMENT = 1; |
| 1889 | var NODE_TYPE_ATTRIBUTE = 2; |
no outgoing calls
no test coverage detected