JS: Proper way to use nested functions?

前端 未结 0 826
余生分开走
余生分开走 2020-12-10 08:00

If I have an event listener and want to use a click event to target a function, would the preferred way to define that function be outside of the scope or can I make it nest

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