38 lines
882 B
Markdown
38 lines
882 B
Markdown
# JavaScript and TypeScript
|
|
|
|
Visit the cards below to starting programming JavaScript and TypeScript with the micro:bit:
|
|
|
|
```codecard
|
|
[{
|
|
"name": "Calling",
|
|
"url": "/js/call"
|
|
},{
|
|
"name": "Sequencing",
|
|
"url": "/js/sequence"
|
|
},{
|
|
"name": "Variables",
|
|
"url": "/js/variables"
|
|
},{
|
|
"name": "Operators",
|
|
"url": "/js/operators"
|
|
},{
|
|
"name": "Statements",
|
|
"url": "/js/statements"
|
|
},{
|
|
"name": "Functions",
|
|
"url": "/js/functions"
|
|
},{
|
|
"name": "Types",
|
|
"url": "/js/types"
|
|
},{
|
|
"name": "Classes",
|
|
"url": "/js/classes"
|
|
}]
|
|
```
|
|
|
|
## More information on TypeScript
|
|
|
|
You can write micro:bit programs in a subset of [TypeScript](https://www.typescriptlang.org), which is a superset of JavaScript.
|
|
Many micro:bit programs, especially at the beginner's level, are just plain JavaScript. See [more details](https://www.pxt.io/language)
|
|
on the subset of TypeScript supported.
|