Skip to content

Commit 34cc74c

Browse files
authored
修复 hasOwnProperty 返回值是 undefined 的问题
1 parent 0242b8a commit 34cc74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Base = require('./base');
1212

1313
const form = 'application/x-www-form-urlencoded';
1414
const hasOwnProperty = function (obj, key) {
15-
Object.prototype.hasOwnProperty.call(obj, key);
15+
return Object.prototype.hasOwnProperty.call(obj, key);
1616
};
1717

1818
/**

0 commit comments

Comments
 (0)