Cú pháp nào sau đây dùng để tạo một mảng trong JavaScript?

Array + Function trong JavaScript

Quiz
•
Information Technology (IT)
•
University
•
Easy
Quý Ngọ
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
let arr = ();
let arr = [];
let arr = {};
let arr = {};
2.
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?
shift()
pop()
push()
unshift()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp để truy cập phần tử đầu tiên của một mảng có tên arr?
arr[arr.length - 1]
arr[0]
arr[-1]
arr[1]
4.
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?
unshift()
pop()
push()
shift()
5.
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 đầu mảng?
pop()
unshift()
shift()
push()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã trên là gì?
3
5
7
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của câu lệnh sau đây là gì?
[1, 2, 3, 4, 5]
1-2-3-4-5
5
12345
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
7A-KIỂM TRA THƯỜNG XUYÊN 2

Quiz
•
7th Grade - University
15 questions
Minigame CLB Tin học 20/10

Quiz
•
University
15 questions
Kiểm tra kiến thức về SQL

Quiz
•
11th Grade - University
15 questions
Bài 27

Quiz
•
10th Grade - University
15 questions
Web_FE_BASIC_SS25

Quiz
•
University
10 questions
Vai trò của cơ quan và hệ cơ quan trong cơ thể người

Quiz
•
5th Grade - University
10 questions
Ôn HKII tin 4

Quiz
•
5th Grade - University
10 questions
Bài 3.1: Trắc nghiệm phần 2

Quiz
•
University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Information Technology (IT)
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University