DocumentFragment: DocumentFragment() constructor

The DocumentFragment() constructor returns a new, empty DocumentFragment object.

Syntax

js
new DocumentFragment()

Parameters

None.

Return value

A new DocumentFragment object.

Specifications