* 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
()
| 1894 | * @returns {Object} |
| 1895 | */ |
| 1896 | function createMap() { |
| 1897 | return Object.create(null); |
| 1898 | } |
| 1899 | |
| 1900 | var NODE_TYPE_ELEMENT = 1; |
| 1901 | var NODE_TYPE_ATTRIBUTE = 2; |
no outgoing calls
no test coverage detected