📜  `.append()` 方法和 `.appendChild()` 方法之间的区别 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:40.893000             🧑  作者: Mango

代码示例1
The ParentNode. append() method inserts a set of Node objects or DOMString objects after the last child of the ParentNode . ... append() allows you to also append DOMString objects, whereas Node. appendChild() only accepts Node objects.