DocumentFragment: DocumentFragment() constructor

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

Syntax

new DocumentFragment()

Parameters

None.

Return value

A new DocumentFragment object.

Specifications

Specification
DOM Standard
# ref-for-dom-documentfragment-documentfragment①

Browser compatibility

BCD tables only load in the browser