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