Metode mana yang digunakan untuk menambahkan elemen ke akhir array JavaScript?
Quiz Javascript Basic Pertemuan 3

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
DevComITI DevComITI
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
shift()
unshift()
push()
pop()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa bentuk operator ternary di JavaScript?
if else
?:
switch case
??
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Loop mana yang mengeksekusi blok kode selama kondisi tertentu benar?
for loop
do...while loop
while loop
foreach
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan dihasilkan oleh kode berikut? const arr = [1, 2, 3]; console.log(arr[1]);
tidak terdefinisi
1
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut? const num = 10; const result = num > 5 ? 'Greater' : 'Smaller'; console.log(result);
5
10
Greater
Smaller
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Metode manakah yang menghapus elemen terakhir dari sebuah array di JavaScript?
push()
pop()
slice()
splice()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa sintaks dari loop for di JavaScript?
for (initializer; condition; increment)
for (condition; initializer; increment)
for (condition; increment; initializer)
for (increment; condition; initializer)
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
ATIVIDADE 4 2° ANO SENAC

Quiz
•
11th Grade
15 questions
Introduction to TypeScript

Quiz
•
12th Grade
10 questions
Soal-soal C++

Quiz
•
11th Grade
5 questions
ASESMEN SUMATIF JAVASCRIPT

Quiz
•
9th - 12th Grade
10 questions
Tipe Data dalam Pemrograman

Quiz
•
11th Grade
10 questions
Postest Larik (Array)

Quiz
•
11th Grade
11 questions
Perulangan For dalam Bahasa C

Quiz
•
10th Grade
12 questions
Pengetahuan Javascript

Quiz
•
11th Grade
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 Computers
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