Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
TypeScript is a superset of Javascript, meaning it shares the same basic syntax as JavaScript and supports all the features that JavaScript has. It also includes some features that JavaScript doesnβt have.
How to access Developer tools in other browsers
- Safari: Enable developer menu > Right click > Inspect Element
- Firefox: Right click > Inspect
- Edge: Right click > Inspect
const name = '';
typeof name;
const age = 2;
typeof age;
let height;
typeof height;
height = '100';
typeof height;
height = 100;
typeof height;
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up