Thomas Brierley e8ace81449 Use 'in' on root prototype checks
Because on NodeJS <= v0.10 hasOwnProperty returns false for __proto__ on
Object.prototype. Function.prototype and Object.prototype are roots so
it should be safe to use 'in' instead.
2017-07-04 19:43:01 +01:00
..
2017-05-05 12:32:21 +02:00
2015-07-18 13:22:38 +02:00
2017-07-04 19:43:01 +01:00
2015-07-18 13:22:38 +02:00
2015-07-18 13:22:38 +02:00
2017-05-12 09:01:31 +02:00
2017-05-12 09:01:31 +02:00