December 2017
Beginner
372 pages
10h 32m
English
The null and undefined types are special types that can be assigned to any variable. They are not very useful on their own, as seen in the following example:
let value = null;value = 42;
Here, the value variable is of the any type, because null is a subtype of all the types and the compiler assigns any to the variable.
Read now
Unlock full access