4 ms·
Object.create(null) creates an empty object with no prototype that you can safely use as a hash, as mentioned in the article you linked.
by nateroling 12y ago
Object.create(null) creates an empty object with no prototype that you can safely use as a hash, as mentioned in the article you linked.