add special case for null in get helper
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
(function get(object, property, receiver) {
|
||||
if (object === null) object = Function.prototype;
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(object, property);
|
||||
|
||||
if (desc === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user