Use undefined instead of void 0
This commit is contained in:
parent
a3f08c9b51
commit
0ee3446109
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ Menu.prototype._init = function() {
|
||||||
},
|
},
|
||||||
getIconForCommandId: (commandId) => {
|
getIconForCommandId: (commandId) => {
|
||||||
var command = this.commandsMap[commandId];
|
var command = this.commandsMap[commandId];
|
||||||
return command != null ? command.icon : void 0;
|
return command != null ? command.icon : undefined;
|
||||||
},
|
},
|
||||||
executeCommand: (commandId) => {
|
executeCommand: (commandId) => {
|
||||||
var command = this.commandsMap[commandId];
|
var command = this.commandsMap[commandId];
|
||||||
|
|
Loading…
Add table
Reference in a new issue