The official jQuery documentation for .on() doesn’t mention use the arrow (=>) with this method. So why is it taught in this course?
=> is known as arrow functions, it was introduced in es6. Maybe the jquery documentation hasn’t been updated to es6? Maybe deliberate? Who knows? You could google, see what you can dig up. Jquery seems to go out of fashion anyway, jquery was created to solve a problem that no longer exist.