So, I saw this video https://youtu.be/YylKa3C_qQc and it mentioned:
const hotkeys = (e) => { let windowEvent ? Window.event : e; }
As a new JavaScript programmer, I don't know how this is working. How does this work? windowEvent ? Window.event : e;
. All I know is that this is a ternary operator.