* 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
()
| 1918 | * @returns {Object} |
| 1919 | */ |
| 1920 | function createMap() { |
| 1921 | return Object.create(null); |
| 1922 | } |
| 1923 | |
| 1924 | var NODE_TYPE_ELEMENT = 1; |
| 1925 | var NODE_TYPE_ATTRIBUTE = 2; |
no outgoing calls
no test coverage detected