Is jquery append working wrong when using in a loop?

前端 未结 0 1639
孤城傲影
孤城傲影 2020-12-25 09:43

I have got this:

arr = []
        $(function () {
            for (let i = 0; i < 4; i++) {
                arr[i] = $(\'

Hello

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