refactor: replace var with const / let (#14866)
This commit is contained in:
parent
b42493e6e6
commit
c61db523c7
26 changed files with 195 additions and 201 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue