Skip to content

Commit 621800f

Browse files
Update function-output.md
1 parent 3d267ba commit 621800f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/function-output.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Output of a function
22

3-
When you log a function in MakeCode using `console.log(f)`, you might expect to see something simple like:
3+
When you log a function using `console.log(f)`, you might expect to see something simple like:
44

55
```ts
66
function f() { return 123 }
@@ -25,5 +25,4 @@ function f__P19063(s) {
2525
}
2626
```
2727

28-
This looks strange if you’re expecting normal JavaScript. But this output is actually a window into how the PXT compiler and MakeCode virtual machine work under the hood.
29-
You should **never** play around this code, it is how MakeCode compiler reads your TypeScript, and runs it.
28+
This looks strange if you are expecting normal JavaScript. But this output is actually a window into how the PXT compiler and MakeCode virtual machine work.

0 commit comments

Comments
 (0)