Not currently supported. To clear all elements in the current document, use document.write(""), followed by document.close.
Standards Information
method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .