flâneur — a map of the web's best reading

TypeScript: Documentation - The Basics

typescriptlang.org · 3,404 words · saved by 1 readers

Step one in learning TypeScript: The basic types.

Each and every value in JavaScript has a set of behaviors you can observe from running different operations. That sounds abstract, but as a quick example, consider some operations we might run on a variable named message . js // Accessing the property 'toLowerCase' // on 'message' and then calling it message . toLowerCase (); // Calling 'message' message (); If we break this down, the first runnable line of code accesses a property called toLowerCase and then calls it. The second one tries to call message directly. But assuming we don’t know the value of message - and that’s pretty common - we

Explore this link on the map →

saved by

related reading