1console.log(typeof 93);
2// Output = "number"
3
4console.log(typeof 'Maximum');
5// Output = 'string'
6
7console.log(typeof false);
8// Output = "boolean"
9
10console.log(typeof anUndeclaredVariable);
11// Output = "undefined"
1var miFuncion = new Function("5+2")
2var forma = "redonda"
3var tamano = 1
4var hoy = new Date()
5
6
7typeof miFuncion === 'function'
8typeof forma === 'string'
9typeof tamano === 'number'
10typeof hoy === 'object'
11typeof noExiste === 'undefined'
12
1
2function fortyTwo() {
3 return 42;
4}
5
6typeof fortyTwo; // "function"
7typeof fortyTwo(); // "number"
8
9