Fix typo in toPlainObject().

This commit is contained in:
John-David Dalton
2019-04-14 22:05:23 -07:00
parent c68170b336
commit 6b1d83c968

View File

@@ -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
}