¿Cuál es la forma correcta de declarar una constante en JavaScript?
Preguntas de JavaScript

Quiz
•
Computers
•
10th Grade
•
Medium
Saidy Mata
Used 7+ times
FREE Resource
41 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var constanteValor = 25;
let constanteValor = 25;
const constanteValor = 25;
constant constanteValor = 25;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál de las siguientes afirmaciones sobre const es verdadera?
Puede ser reasignada después de su declaración.
Solo se puede usar dentro de una función.
Su valor no puede cambiar después de su declaración.
Solo se usa para cadenas de texto.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál de las siguientes expresiones determina si una variable edadUsuario es mayor de edad en JavaScript?
if edadUsuario => 21
if (edadUsuario >= 21)
if edadUsuario = 21+
if edadUsuario >= 21 then
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué operador se usa para evaluar si una variable num es impar?
num % 2 == 1
num / 2 == 1
num // 2 == 1
num ** 2 == 1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el resultado de 15 % 4?
4
3
0
15
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si let x = 12 y let y = 7, ¿cuál de las siguientes expresiones es falsa?
x > y
y < 15
x == y
x + y == 19
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la forma correcta de declarar una función en JavaScript?
function calcularArea() {}
def calcularArea() {}
function: calcularArea() {}
func calcularArea() {}
Create a free account and access millions of resources
Similar Resources on Quizizz
42 questions
Računarske mreže - Kombinacija

Quiz
•
9th - 12th Grade
40 questions
แบบทดสอบกลางภาควิทยาการออกแบบ ม.4

Quiz
•
10th Grade
40 questions
inf03 t1

Quiz
•
10th - 12th Grade
37 questions
CSS and HTML Vocabulary

Quiz
•
9th - 12th Grade
45 questions
Evaluación 2do Informativo Diseño y Desarrollo Web

Quiz
•
9th - 12th Grade
40 questions
EXAMEN3PARCIALPAGINAS WEB

Quiz
•
6th Grade - University
39 questions
Unidad 6-Publicación y difusión de contenidos

Quiz
•
10th Grade
40 questions
Microsoft Expression Units J, K, and M

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade