Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
What is difference between JavaScript and Typescript ?
I want to know how Typescript differentiate with JavaScript.
1 ответ
+ 8
Typescript is a JavaScript superset, all JavaScript code works on typescript.
The main difference is that typescript allow you to use types like boolean, number, string, etc (you can also create your own types). Typescript also provide a clean way to write OOP.
Check out my last typescript code:
https://code.sololearn.com/WiY4I32GeFvA/?ref=app