Put in order · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects
typeof Syntax
Arrange the elements of checking a variable's type:
Items to put in order
- typeof
- ===
- dinoSpecies
- 'string'
Show the answer
Correct order:
- typeof
- dinoSpecies
- ===
- 'string'