mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-08 17:10:06 +08:00
Objects created with `Object.create(null);` do not have a `valueOf` method unless they supply one themselves. To accomodate these, Object.prototype.valueOf is used when the type of the value is "object", and the `valueOf` property is not a function (E.G. it's not in the object at all). Closes #9568