flurry@lemmy.worldtoNo Stupid Questions (Developer Edition)@programming.dev•New to Javascript here, what does Javascript and Typescript have in common ?English
6·
1 year agoTypeScript is a superset of JavaScript. It means any valid JavaScript is also valid TypeScript.
You should start to learn basic JavaScript mechanisms : prototype inheritance, hoisting, scopes, this, event loop, type coercion.
Once « JavaScript » sounds familiar you will embrace TypeScript which is JavaScript with steroids!
You don’t need to necessarily believe me but please double check your claims before you spread misinformation