Quiz
Data Types: Part II
Perguntas do 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
Informações
- Descrição
- Quiz sobre Data Types: Part II, criado por Code Ramp em 11-11-2018.
- Autor
- Code Ramp
- Idioma
- English
- Visualizações
- 122
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz