Why, when I add a bunch of event listeners in a loop, does every element trigger the last listener added? [duplicate]

后端 未结 1 501
灰色年华
灰色年华 2020-12-21 13:58
热议问题