kriskowal/es5-shim — pull request #76 by kennethkufluk (2011-11-22 22:29:49+00:00)
Title: Null value for __proto__ property causes error in defineProperties for IE8

Object.defineProperty can fail in IE8 when used with defineProperties, since the for-in loop will iterate over __proto__, and this could be null.

For example:

var props = Object.create(null);
...
Object.defineProperties(obj, props); // Error in IE8

I've added a guard against iterating over the __proto__ property.