Use undefined instead of void 0

This commit is contained in:
Kevin Sawicki 2016-03-10 11:59:50 -08:00
parent a3f08c9b51
commit 0ee3446109

View file

@ -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];