January 2011
7 posts
The catch is that when it comes to fat and calories, there is very little to...
– from “Americans overwhelmingly prefer white chicken meat. What happens to the dark parts?” at Slate Magazine
For-in loops ignore properties named 'toString' in...
@matasar and I discovered a really neat “feature” of Internet Explorer: if you enumerate an object using a for…in loop, IE will ignore any property named toString. This bit us because we were using such a loop to add methods to an object’s prototype using code like this:
var someNewMethods = {
someOtherMethod: function() {
…
},
toString: function() { // overrride native...
HTML5 is dead! Long live HTML! →
The Decemberists new album, "The King Is Dead",... →