found drama

get oblique

Tag Archives: arrays

the pleasures and perils of JavaScript’s promiscuous comparison operator

by Rob Friesel

Spoiler alert: toString has its mitts in everything. This all started when we saw a candidate put the following into an exercise we had given him: if (arrayToTest == ”) Our first thought was well that seems wrong… And though it seems like something that shouldn’t work, it did–when the array contained a single item, […]

Linkdump for August 2nd

by Rob Friesel

Perfection kills » How ECMAScript 5 still does not allow to subclass an array at Perfection kills (via Bad Ass JavaScript) (tagged: article javascript arrays todo ) HTML5: Changing the browser-URL without refreshing page at Spoiled Milk ApS (via Bad Ass JavaScript) (tagged: HTML5 pushState javascript navigation url ) Diffable (tagged: javascript diff ajax performance […]