|
You are here |
mariusschulz.com | ||
| | | | |
nabeelvalley.co.za
|
|
| | | | | An introduction to programming and general programming concepts using JavaScript | |
| | | | |
sitr.us
|
|
| | | | | In type theory a unit type is any type that represents exactly one possible value. The unit types in TypeScript include null, undefined, and literal types. TypeScript also has the type void which is used as the return type for functions that don't have an explicit return value. In JavaScript a function that does not explicitly return implicitly returns undefined; so at first glance it would seem that void is an alias for the undefined type. But it is not! ... | |
| | | | |
ostash.dev
|
|
| | | | | Mutating a value. When you receive a data structure that is in its identity mutable, like an array or object, the best thing to do is to always assume that it is a read-only data structure and that you are not allowed to mutate it. | |
| | | | |
lea.verou.me
|
|
| | | |||