Learn how to make an array immutable in TypeScript.
My FREE programming apps:
https://apps.apple.com/app/id659282498
https://play.google.com/store/apps/de...
My FREE TypeScript Course:
https://typescript.tv/
Resources:
➜ https://typescript.tv/errors/
➜ https://www.typescriptlang.org/docs/h...
➜ https://blog.logrocket.com/const-asse...
Timeline:
00:37 Mutable & Immutable Arrays
02:28 Most common errors
02:53 Creating a readonly array
04:13 Transpiled const assertion
Follow TypeScript TV:
🌐 https://typescript.tv
🐦 / typescripttv
📺 / typescripttv
Hashtags:
#TypeScript #JavaScript #CodeNewbie #Programming