Réponse

a function

Explication

The above example would only work if myFunc were a valid function that had been defined elsewhere:

function myFunc() {
alert('Make myFunc the pFunc... omg that was horrible i am so sorry');
}

<img onClick={myFunc} />

Question

An event listener attribute’s value should be ?

Thématique