Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
clear

clear method

Clears messages from the console.

Internet Explorer 10

 

Syntax

var retVal = console.clear();

Parameters

retVal [out, retval]

Type: boolean

Remarks

Does not clear script error messages or script code you entered into the console command line. To clear all messages inF12 developer tools, right-click the Console pane and then click the Clear console option.

See also

console
Using the F12 Tools Console to View Errors and Status

 

 

Show:
© 2015 Microsoft