0

what happened?

$('body').on('click',"div",function(){console.log($(this))}) //prints div

$('body').on('click',"div",()=>{console.log($(this))}) //prints window

I try

Calvin Nunes
  • 6,376
  • 4
  • 20
  • 48
xxx
  • 1
  • 1

0 Answers0