Reduce variable scope pollution with const/let

This commit is contained in:
Sam Schloegel
2022-01-05 21:20:35 -05:00
parent 35340b86db
commit 9c16c9c220
13 changed files with 130 additions and 130 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ if (require('electron-squirrel-startup')) {
app.quit();
}
var menu;
let menu;
let mainWindow;
const createWindow = () => {