mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Fix typo in toPlainObject().
This commit is contained in:
@@ -24,7 +24,7 @@ function toPlainObject(value) {
|
|||||||
value = Object(value)
|
value = Object(value)
|
||||||
const result = {}
|
const result = {}
|
||||||
for (const key in value) {
|
for (const key in value) {
|
||||||
result[key] = value[value]
|
result[key] = value[key]
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user