Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use undefined instead of this for ESM
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
deokjinkim and aduh95 authored Mar 29, 2023
commit a674cb4fc79c8fad8128a2a1ec78faae78c2b2d1
2 changes: 1 addition & 1 deletion doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ const callsfunc = tracker.calls(func);
callsfunc(1, 2, 3);

assert.deepStrictEqual(tracker.getCalls(callsfunc),
[{ thisArg: this, arguments: [1, 2, 3] }]);
[{ thisArg: undefined, arguments: [1, 2, 3] }]);
```

```cjs
Expand Down