Skip to content

Commit

Permalink
Merge pull request #239 from yusufidimaina9989/master
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
yusufidimaina9989 authored Feb 26, 2024
2 parents 66754c4 + 6f63055 commit 65e356f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/how-to-write-a-contract/how-to-write-a-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ for (let i = 0; i < 3; i++) {
### `return`
Due to the lack of native return semantics support in Bitcoin Script, a function currently must end with a `return` statement and it is the only valid place for a `return` statement. This requirement may be relaxed in the future.
Due to the lack of native return semantics support in Bitcoin Script, a non-public function currently must end with a `return` statement and it is the only valid place for a `return` statement. This requirement may be relaxed in the future.
```ts
@method() m(x: bigint): bigint {
Expand Down Expand Up @@ -802,7 +802,7 @@ static add(a: bigint, b: bigint): bigint {
| `==` | Equal to |
| `!=` | Not equal to |
| `===` | Same as `==` |
| `!==` | Same as `!=` |
| `!==` | Not same as `!=` |
| `>` | Greater than |
| `>=` | Greater than or equal to |
| `<` | Less than |
Expand Down

0 comments on commit 65e356f

Please sign in to comment.