We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f25d3a1 commit 0189cb1Copy full SHA for 0189cb1
index.js
@@ -99,7 +99,7 @@ function unflatten (target, opts) {
99
}
100
101
102
- target = Object.keys(target).reduce((result, key) => {
+ target = Object.keys(target).reduce(function (result, key) {
103
const type = Object.prototype.toString.call(target[key])
104
const isObject = (type === '[object Object]' || type === '[object Array]')
105
if (!isObject || isEmpty(target[key])) {
0 commit comments