I thought below two statement will show same result:
console.log(clickedEvent.target)
console.log(`Clicked Element:${clickedEvent.target}`)
But the result is:
<div>Account</div>
[object HTMLDivElement]
Did I miss something?
I thought below two statement will show same result:
console.log(clickedEvent.target)
console.log(`Clicked Element:${clickedEvent.target}`)
But the result is:
<div>Account</div>
[object HTMLDivElement]
Did I miss something?