Skip to content

Commit 216c1e3

Browse files
authored
Merge pull request #3 from WangZishi/patch-1
修复 hasOwnProperty 返回值是 undefined 的问题
2 parents 0242b8a + 34cc74c commit 216c1e3

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)