diff --git a/reviews/BordedDev/sudoku.modified.js b/reviews/BordedDev/sudoku.modified.js index 5d3407b..55faac2 100644 --- a/reviews/BordedDev/sudoku.modified.js +++ b/reviews/BordedDev/sudoku.modified.js @@ -13,7 +13,7 @@ class EventHandler { } on(event, listener) { - this.events[event] ||= { name: name, listeners: [], callCount: 0 } + this.events[event] ??= { name: name, listeners: [], callCount: 0 } this.events[event].listeners.push(listener) }