Does removeChild really delete the element?

后端 未结 4 1611
深忆病人
深忆病人 2020-12-16 18:13

Does removeChild function really delete the child node completely? Or it just removes the element being child of the specified parant node? If it doesn\'t reall

4条回答
  •  不知归路
    2020-12-16 18:31

    If you want to really delete a dom element . removeChild alone is not enough. This is as per Steve Sounders who is the author of YSlow. You need to use delete

提交回复
热议问题