Skip to content

Commit

Permalink
docs: add strict legacy behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Sep 11, 2024
1 parent 444c8b8 commit 6ad48de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/documentation/assert/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Strict assertions:
+ import { strict as assert } from 'poku';
```

- `strict` method is available for **Node.js 16** onwards, **Bun**, and **Deno**.
- `strict` method is available for **Node.js 16** onwards, **Bun**, and **Deno**. If you use it on unsupported **Node.js** versions, **Poku** will use the standard `assert` instead.

```ts
assert(true, "It's true 🧪");
Expand Down

0 comments on commit 6ad48de

Please sign in to comment.