diff --git a/docs/object.md b/docs/object.md index b00dfa4450..c8fc983ebd 100644 --- a/docs/object.md +++ b/docs/object.md @@ -95,3 +95,12 @@ You can use the above object like so: ```reason obj#doYouWant(); ``` + +To disable the `this` binding you can use `as`. +```reason +let makeMyObject () => +{ + as _; + pub = doYouWant () => true; +} +```