Function executes normally but addeventlistener won't execute function

前端 未结 0 2017
鱼传尺愫
鱼传尺愫 2021-01-16 16:35

I am trying to sort a js object when clicked on a button.

function work when called normally but doesn\'t work when added to an eventlistener.

What\'s wrong? (

相关标签:
回答
  • 消灭零回复
提交回复
热议问题