MDN self-hosted library · e01.org

DocumentFragment: DocumentFragment() constructor

DOM

no runnable cells web-api-constructor upstream source

DOM

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

Syntax

new DocumentFragment()

Parameters

None.

Return value

A new DocumentFragment object.

Specifications

Browser compatibility