Description
JavaScript is everywhere, and TypeScript is JavaScript with some cool extra features. You've probabl... Tagged with javascript, typescript, webdev, node.
Summary
- JavaScript is everywhere, and TypeScript is JavaScript with some cool extra features.
- Snowpack just works out of the current directory if you've not configured anything.
- combineCoordinates("blah","blah2");// Would crash during execution JavaScript is weakly typed (you can put any type of data into any variable), so would run this code just fine, until it crashes trying to access the properties x and y of our two strings.
- Changing code becomes easier, as you don't need to remember every place you use a certain shape of object, your editor will do that work for you, and you'll find bugs sooner, again, with your editor telling you that you're using the wrong type of data before your application crashes in the browser.