MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

此页面上有脚本错误。虽然它是写给网站编辑,您可以在下面查看部分内容。

这篇翻译不完整。请帮忙从英语翻译这篇文章

{{ Deprecated_头部 }}

 This method 使用 to 清除  the whole specified document in early (pre-1.0) versions of Mozilla.

In recent versions of Mozilla-based applications as well as in Internet Explorer and Netscape 4 this method does nothing.

Syntax

document.clear() 

Specification

文档标签和贡献者

 此页面的贡献者: codeXtt
 最后编辑者: codeXtt,