cloneNode
Description
The cloneNode of Node for JS returns a copy of node. If deep is true, the copy also includes the node’s descendants.
Syntax
node.cloneNode([deep = false])
Parameters
deep
Include the node’s descendants.
The cloneNode of Node for JS returns a copy of node. If deep is true, the copy also includes the node’s descendants.
node.cloneNode([deep = false])
Include the node’s descendants.