We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd3039 commit 7612317Copy full SHA for 7612317
src/index.js
@@ -25,7 +25,7 @@ var param = function (a) {
25
obj[i]
26
);
27
}
28
- } else if (String(obj) === '[object Object]') {
+ } else if (Object.prototype.toString.call(obj) === '[object Object]') {
29
for (key in obj) {
30
buildParams(prefix + '[' + key + ']', obj[key]);
31
0 commit comments