Given the following code:
document.body.addEventListener(' click ', (event) => {
if (/* CODE REPLACEMENT HERE */) {
console.log('button clicked!');
)
});
Which replacement for the conditional statement on line 02 allows a developer to
correctly determine that a button on page is clicked?
Gladys
1 months agoGianna
1 months agoSharan
16 days agoPaola
2 months agoRosalind
2 days agoCiara
13 days agoBettina
1 months agoCarline
1 months agoMohammad
1 months agoNichelle
1 months agoVincent
2 months agoAlaine
2 months agoKathrine
29 days agoMajor
1 months agoReed
2 months agoGlen
2 months agoWinfred
2 months ago