Are template literals supported inside forEach methods nested console.log functions?

后端 未结 0 1814
傲寒
傲寒 2020-12-11 05:33

I have a forEach method which returns a console.log() for each element in the Array. If I place template literals in it, I get printed in the console: [object HTMLLIElement]

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