Skip to content

Commit 40d2a92

Browse files
committed
docs(README): update example
1 parent 6d5eb68 commit 40d2a92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ For given `math.js` below,
3434
```javascript
3535
'use strict';
3636

37-
var assert = require('assert');
37+
const assert = require('node:assert/strict');
3838

3939
function add (a, b) {
4040
console.assert(typeof a === 'number');

0 commit comments

Comments
 (0)