Komentar di JavaScript dapat ditulis dengan cara
Javascript Study I-II

Quiz
•
Computers
•
10th Grade
•
Hard
Rahmat BP
Used 4+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 2 pts
// komentar
/* komentar ke-1
komentar ke-2 */
/* komentar ke-1 /* komentar ke-2 */ komentar ke-3*/
/* komentar baris 1
// komentar baris 2 */
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Pernyataan di bawah ini adalah benar, kecuali
var
digunakan untuk mendeklarasikan sebuah variabel, opsional menginisialisasi sebuah nilai.
let
digunakan untuk mendeklarasikan lingkup-blok, variabel lokal, opsional menginisialisasi sebuah nilai.
const
digunakan untuk mendeklarasikan sebuah lingkup-blok, baca-saja dinamakan konstanta.
tidak ada let dan const di dalam JavaScript
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Penulisan karakter pertama variable boleh menggunakan tanda $
Benar
Salah
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Penulisan karakter pertama variable boleh menggunakan angka
Benar
Salah
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
var a;
console.log(a);
// hasil dari console.log(a) adalah
undefined
null
empty string
semuanya salah
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
if (true) {
var x = 5;
}
console.log(x);
// hasil dari console.log(x) adalah
5
undefined
error
"5"
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
if (true) {
let y = 5;
}
console.log(y);
// hasil dari console.log(y) adalah
5
undefined
error
"5"
Create a free account and access millions of resources
Similar Resources on Quizizz
47 questions
Computing and General Knowledge

Quiz
•
7th Grade - University
50 questions
LATIHAN SOAL

Quiz
•
10th Grade - University
54 questions
Programming Concepts

Quiz
•
9th - 12th Grade
50 questions
Informatika SMK Kelas 10

Quiz
•
10th Grade
50 questions
Penilaian Tengah Semester Genap Informatika X Kuliner 5

Quiz
•
10th Grade
50 questions
LATIHAN PAT INFORMATIKA KELAS X

Quiz
•
9th - 12th Grade
50 questions
SAS Pemrograman Dasar X

Quiz
•
10th Grade
50 questions
INFORMATIKA

Quiz
•
10th Grade
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 Computers
20 questions
Types of Credit

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

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

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

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

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade