Skip to content

Commit 1458025

Browse files
Merge pull request #780 from xtian/patch-1
bind-to-js-function.mdx: Clarify `this` binding documentation
2 parents 41a7fd3 + 559a804 commit 1458025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/latest/bind-to-js-function.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ x.onload = function (v) {
376376

377377
</CodeTab>
378378

379-
`this` has its first parameter is reserved for `this` and for arity of 0, there is no need for a redundant `unit` type.
379+
`@this` reserves the first parameter for the `this` value, and for arity of 0, there is no need for a redundant `unit` type.
380380

381381
## Function Nullable Return Value Wrapping
382382

0 commit comments

Comments
 (0)