Skip to content

Commit

Permalink
fix syntax box
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Nov 15, 2023
1 parent 1c98c18 commit 734812e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions files/zh-tw/web/api/console/assert_static/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Console.assert()
slug: Web/API/console/assert_static
original_slug: Web/API/console/assert
---

{{APIRef("Console API")}}
Expand All @@ -14,9 +13,14 @@ original_slug: Web/API/console/assert
## 語法

```plain
console.assert(assertion, obj1 [, obj2, ..., objN]);
console.assert(assertion, msg [, subst1, ..., substN]); // c-like message formatting
```js-nolint
assert(assertion, obj1)
assert(assertion, obj1, obj2)
assert(assertion, obj1, obj2, /* …, */ objN)
assert(assertion, msg)
assert(assertion, msg, subst1)
assert(assertion, msg, subst1, /* …, */ substN)
```

### 參數
Expand Down

0 comments on commit 734812e

Please sign in to comment.