Poudlardo@jlai.lu to No Stupid Questions (Developer Edition)@programming.devEnglish · 1 year agoNew to Javascript here, what does Javascript and Typescript have in common ?message-squaremessage-square12fedilinkarrow-up112arrow-down11file-text
arrow-up111arrow-down1message-squareNew to Javascript here, what does Javascript and Typescript have in common ?Poudlardo@jlai.lu to No Stupid Questions (Developer Edition)@programming.devEnglish · 1 year agomessage-square12fedilinkfile-text
Do I master Typescript if I master Javascript ? Is Typescript syntax different ? Answers appreciated, thank you !
minus-squareQuasari@programming.devlinkfedilinkEnglisharrow-up3·1 year agoTo be a superset, all elements of the subset must be contained within the superset. TypeScript is a superset of JavaScript as valid JS code(just with everything implicitly the any type) is valid TS code.
To be a superset, all elements of the subset must be contained within the superset.
TypeScript is a superset of JavaScript as valid JS code(just with everything implicitly the
any
type) is valid TS code.