Beginner
Write a type report
The starter declares five values. Fill each <span> with the type of the matching value, using typeof.
Two values need special care: typeof null says object and so does typeof an array. For c, show null, and for d, show array. Use === null and Array.isArray for those two.
What Check tests
- a shows
string - b shows
number - c shows
null - d shows
array - e shows
bigint - The code uses
typeof,=== nullandArray.isArray
Stuck? One hint at a time
The solution unlocks after your first Check. Try first: that is where the learning happens.
Runs in your browser. Your code is saved here.
Your page
Press Run to see the page.
Console
Nothing logged yet.