Something New Every Day...
Fri Dec 01, 2006 · 59 words

JavaScript - Associative Arrays Considered Harmful The reason I stumbled across this was that Apple's QuickTime Embedding JS has this problem. The symptoms look crazy - you'll have other JS code inside your embed tag. This happened to me when using Prototype. The fix is easy - just replace “new Array ();” on line 165 with “new Object ();”

back · essays · credits ·