Message from JavaScript discussions

December 2020

— Oh well

— 

$('#winner').click => {
let winner = getWinner();
console.log("Winner is: " + winner.name);
}

Uncaught SyntaxError: Malformed arrow function parameter list

What am I doing wrong?

— 

.click(() => {
...
})

— Using jQuery

— Not reading error messages🤤 not using search, not reading manuals

— But this $ isnt it in atemplate literral

— Wha

— You live in a better life not knowing about jQuery

— Is this a kind of joke

— Jquerryyy isnt somehting ive ever given time i blive i can archieve what jquery does if igave in time with js

Message permanent page

— But vanilla can achieve wat jquery does ryt RubenVerg or determin1st

— Of course, after all jQ is done in vjs