refactor: replace var with const / let (#14866)

This commit is contained in:
Milan Burda 2018-09-29 01:17:00 +02:00 committed by Samuel Attard
parent b42493e6e6
commit c61db523c7
26 changed files with 195 additions and 201 deletions

View file

@ -93,7 +93,7 @@ const getStorageManager = (storageType, extensionId) => {
let items = {}
keys.forEach(function (key) {
var value = storage[key]
let value = storage[key]
if (value == null) value = defaults[key]
items[key] = value
})