experimenting with a more general way of hashing a namespace, for future javascript golf. the idea is that existing browser objects can be hashed so that wasteful strings like createDocumentFragment
can be avoided entirely, and keys from several objects (such as document
, window
, String
, etc.) can be hashed into one namespace.
for example:
d = document
d.body.appendChild(d.createElement("script")).src="URL"
could be shortened to