Profile
Achievement
EvanHahn's Recent SnippetsTagged object
- All /
« Prev 1 Next »
`Object.create(null)` is a more memory-efficient way to make objects, but it's not supported in all versions of JavaScript, so you can do the "old-fashioned" `{}` if that function isn't available.
0
863
posted 12 years ago by EvanHahn