From 7a11ce6d06f4158d23f3dbf095ac6c9e9f56a593 Mon Sep 17 00:00:00 2001 From: Gahotx <53534938+Gahotx@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:44:42 +0800 Subject: [PATCH] Update files/zh-cn/web/api/performance/clearmarks/index.md Co-authored-by: A1lo --- files/zh-cn/web/api/performance/clearmarks/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/zh-cn/web/api/performance/clearmarks/index.md b/files/zh-cn/web/api/performance/clearmarks/index.md index 9db3856fa35850..6ccfa17ff87776 100644 --- a/files/zh-cn/web/api/performance/clearmarks/index.md +++ b/files/zh-cn/web/api/performance/clearmarks/index.md @@ -7,7 +7,7 @@ slug: Web/API/Performance/clearMarks **`clearMarks()`** 这个方法可以从浏览器的 performance entry 缓存中移除声明的标记。如果调用这个方法时没有传递参数,则所有带有{{domxref("PerformanceEntry.entryType","entry type")}}这类标记的{{domxref("PerformanceEntry","performance entries")}} 将从 performance entry 缓存区中被移除。 -## 使用说明 +## 语法 ``` performance.clearMarks();