Variables
6 min · TypeScript
Store values in named boxes — and label what type they hold.
TypeScript · Variables0/5 cleared
Enemy 1 of 5
Make a variable with let. In TypeScript you can add a type after a colon, like : string, so the editor catches wrong values.
Then use the name anywhere instead of repeating the value.
You
Cold-Start Frostling
Loading editor...
Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Ada