https://github.com/andrekovac/javascript-typescript-exercises
https://github.com/andrekovac/javascript-typescript-exercises
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrekovac/javascript-typescript-exercises
- Owner: andrekovac
- Created: 2021-11-15T04:46:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-21T07:16:58.000Z (about 2 years ago)
- Last Synced: 2024-06-22T00:37:11.031Z (about 2 years ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JavaScript & TypeScript Exercises
## JavaScript
### [playground_01.js](./playground_01.js )
**Topics**:
- `var`/`let`/`const`
- nullish coalescing operator (`??`) and optional chaining operator (`?.`)
- spread operator
- implicit type coercion
### [playground_02.js](./playground_02.js )
**Topics**:
- shallow and deep copies explained in a visual format:

- `reduce` function
- Promises and async/await
## TypeScript
- See how TypeScript code gets compiled to JavaScript (see [compiled/playground.js](./compiled/playground.js))
- Explore some interesting TypeScript properties.