Để tạo một mảng trong JavaScript, bạn sử dụng từ khóa nào sau đây?

Arrray - Object

Quiz
•
Instructional Technology
•
Professional Development
•
Hard
Lương Văn
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
new Array()
[ ]
array()
makeArray()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để truy cập phần tử thứ n trong một mảng có tên "arr"?
arr(n);
arr[n];
arr.n
arr{ n }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào được sử dụng để thêm một phần tử vào cuối mảng trong JavaScript?
push()
add()
append()
insert()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để lấy độ dài của một mảng trong JavaScript?
arr.length
arr.size
arr.length()
arr.size()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào được sử dụng để loại bỏ phần tử cuối cùng của mảng trong JavaScript?
slice()
remove()
delete()
pop()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để lấy phần tử đầu tiên của mảng trong JavaScript?
arr.getFirst()
arr[0]
arr.first()
arr.get(0)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đối tượng trong JavaScript được tạo bởi việc ghép các cặp khóa-giá trị nào sau đây?
keys()
pairs()
properties và values()
properties()
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Các câu hỏi trong powpoint

Quiz
•
Professional Development
9 questions
Prueba Junior

Quiz
•
Professional Development
10 questions
Nhanh như chớp

Quiz
•
Professional Development
10 questions
câu hỏi trắc nghiệm môn tin học lớp 5

Quiz
•
Professional Development
14 questions
Jascript Basics

Quiz
•
Professional Development
11 questions
DEWE-03_RA 1.1_Tema A

Quiz
•
Professional Development
14 questions
Week 4 Quiz

Quiz
•
Professional Development
10 questions
JS Basic

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade