clearMarks method
Removes marks and their associated time values.
![]() |
Syntax
var retval = performance.clearMarks(markName);Parameters
- markName [in, optional]
-
Type: DOMString
Name of the mark(s) to be cleared.
Return value
Type: HRESULT
This method can return one of these values.
- S_OK
Standards information
Remarks
If a value for the markName parameter is specified, only marks with that name are removed. If there are no marks with the specified name, this method does nothing.
See also
Show:
