Locally scope key in keysIn (#4173)

This commit is contained in:
carbureted
2019-01-27 13:59:41 -08:00
committed by John-David Dalton
parent 6248f8a658
commit 3ae8f23bff

View File

@@ -22,7 +22,7 @@
*/ */
function keysIn(object) { function keysIn(object) {
const result = [] const result = []
for (key in object) { for (const key in object) {
result.push(key) result.push(key)
} }
return result return result