Skip to content

Commit

Permalink
Update files/zh-cn/web/api/performance/clearmarks/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
Gahotx and yin1999 authored Aug 26, 2024
1 parent d4f13c5 commit 7a11ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/api/performance/clearmarks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7a11ce6

Please sign in to comment.