Skip to content

Commit 39c1578

Browse files
Update throwFunction.md
1 parent 7699bfc commit 39c1578

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/throwFunction.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## Throw function
22

33
Throws a value written in the problems pane, similar to the throw syntax.
4+
```
5+
pxt.throwValue(null);
6+
```
47

58
The difference is that the function is the core of the syntax in the MakeCode environment.
69

0 commit comments

Comments
 (0)