mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Use undefined instead of void 0
This commit is contained in:
@@ -112,7 +112,7 @@ Menu.prototype._init = function() {
|
||||
},
|
||||
getIconForCommandId: (commandId) => {
|
||||
var command = this.commandsMap[commandId];
|
||||
return command != null ? command.icon : void 0;
|
||||
return command != null ? command.icon : undefined;
|
||||
},
|
||||
executeCommand: (commandId) => {
|
||||
var command = this.commandsMap[commandId];
|
||||
|
||||
Reference in New Issue
Block a user