|
|
@ -19,8 +19,7 @@
|
|
|
|
(value, method) =>
|
|
|
|
(value, method) =>
|
|
|
|
value &&
|
|
|
|
value &&
|
|
|
|
value instanceof Object &&
|
|
|
|
value instanceof Object &&
|
|
|
|
Object.prototype.hasOwnProperty.call(value, method) &&
|
|
|
|
Object.prototype.hasOwnProperty.call(value, method)
|
|
|
|
!(Object.getOwnPropertyDescriptor(value, method) || {}).get
|
|
|
|
|
|
|
|
? value[method]
|
|
|
|
? value[method]
|
|
|
|
: '__UNDEFINED__',
|
|
|
|
: '__UNDEFINED__',
|
|
|
|
window
|
|
|
|
window
|
|
|
|