Bagaimana cara deklarasi variabel dengan benar di JavaScript?
Chapter 2 - FSW - Quiz Berhadiah

Quiz
•
Computers
•
Professional Development
•
Medium
Fahmi Alfareza
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
var x = 5;
variable x = 5;
let x = 5;
const x = 5;
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa hasil dari ekspresi berikut: 10 + "5"?
15
"105"
105
Error
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Bagaimana cara mendeklarasikan fungsi di JavaScript?
function myFunction() {}
var myFunction = function() {}
def myFunction() {}
let myFunction = () => {}
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa yang dimaksud dengan DOM dalam konteks pengembangan web?
Document Object Model
Data Object Model
Document Order Model
Digital Object Model
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Bagaimana cara memeriksa tipe variabel "string" di JavaScript?
typeof variable === "text"
variable.type === "string"
typeof variable === "string"
variable.isString()
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa hasil dari ekspresi: 5 % 2?
3
2
1
0
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa yang dilakukan oleh pernyataan return dalam fungsi JavaScript?
Mengakhiri eksekusi fungsi dan mengembalikan nilai
Mendeklarasikan variabel
Menambahkan jeda baris dalam kode
Mencetak nilai ke konsol
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
CIT JULY 2022

Quiz
•
Professional Development
12 questions
ES6

Quiz
•
Professional Development
13 questions
Javascript HTML CSS

Quiz
•
Professional Development
10 questions
Moringa JavaScript Arrays

Quiz
•
5th Grade - Professio...
11 questions
JavaScript

Quiz
•
Professional Development
8 questions
GO4 x FE23! quiz zerius day 2

Quiz
•
Professional Development
10 questions
7/2/2024

Quiz
•
Professional Development
9 questions
PreTrainingJavaScript

Quiz
•
Professional Development
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