Qual é a diferença principal entre `let` e `const` em JavaScript?
Conceitos Básicos de JavaScript

Quiz
•
Other
•
12th Grade
•
Medium
SILVIO HENRIQUES PEREIRA
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
`let` permite a reatribuição de valores, enquanto `const` não.
`const` permite a reatribuição de valores, enquanto `let` não.
Ambos `let` e `const` permitem a reatribuição de valores.
Nenhum dos dois permite a reatribuição de valores.
2.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
O que significa o valor `null` em JavaScript?
Um valor indefinido.
Um objeto vazio.
A ausência intencional de qualquer valor de objeto.
Um número zero.
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Qual das seguintes opções é considerada um tipo de dado primitivo em JavaScript?
Array
Object
String
Function
4.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Qual é a diferença entre `null` e `undefined` em JavaScript?
`null` é um valor atribuído, enquanto `undefined` significa que uma variável não foi inicializada.
`undefined` é um valor atribuído, enquanto `null` significa que uma variável não foi inicializada.
Ambos significam que uma variável não foi inicializada.
Ambos são valores atribuídos.
5.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Qual é o resultado de `let x; console.log(x);` em JavaScript?
null
undefined
0
NaN
6.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
O que o seguinte código JavaScript irá imprimir no console?
let i = 0;
while (i < 3) {
console.log(i);
i++;
}
0 1 2 3
1 2 3
0 1 2
1 2
7.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Qual das seguintes opções NÃO é um tipo de dado primitivo em JavaScript?
Boolean
Number
Object
Symbol
Similar Resources on Quizizz
10 questions
Understanding Arrays in Programming

Quiz
•
University
8 questions
Compound Statements

Quiz
•
University
7 questions
Quiz-aula-web-I

Quiz
•
University
10 questions
JavaScript Control Structures Review

Quiz
•
12th Grade
10 questions
Web Design: intro to Javascript

Quiz
•
10th - 12th Grade
10 questions
JavaScript - 2

Quiz
•
11th - 12th Grade
10 questions
Java Script

Quiz
•
10th - 12th Grade
10 questions
Javascript тілі

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Other
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University