Quiz
Data Types: Part II
Fragen in diesem Quiz (5)
1Which of the following are valid operators in JavaScript?
- A+
- B/
- C%
- D**
2If we create a new variable, but we don't assign that variable to anything right away, what data type does the new variable default to?
- Anull
- Bundefined
- CNaN
3If we have a variable called middleName and we're saving information for a user who has no middleName, what data type might that variable contain?
- Anull
- Bundefined
- CNaN
4If we try to assign a variable to the result of a mathematical operation that is not valid (e.g. var result = Math.log(-1); ), what type would that variable be?
- Anull
- Bundefined
- CNaN
5Which of the following are boolean expressions?
- A5 > 1
- Btrue === true
- C6 % 2
- D"Hello world".length > 10
Informationen
- Beschreibung
- Quiz am Data Types: Part II, erstellt von Code Ramp am 11/11/2018.
- Autor
- Code Ramp
- Sprache
- English
- Aufrufe
- 122
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz