
Frontend_ReactJS_SS1
Authored by haibt@rikkei.edu.vn rikkei
Information Technology (IT)
University
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều nào sau đây là đúng về let và const trong JavaScript?
let dùng để khai báo hằng số, còn const cho biến thay đổi
let và const đều có phạm vi block scope
const có thể được gán lại giá trị mới
let có phạm vi global như var
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là gì?
Xin chào, $name!
Xin chào, name!
Xin chào, Hihi!
Xin chào, {name}!
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cú pháp đúng của một arrow function?
function => (x) { return x + 1; }
(x) => x + 1
=> x + 1
(x) => { return; x + 1; }
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
[1, 2]
1 2
1 undefined
undefined 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
undefined
Anna
name
{ name: "Anna" }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đoạn mã sau là gì?
[a, 3]
1,2,3
[ [1,2], [3] ]
[1, 2, 3]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn nào sử dụng đúng rest parameters trong hàm?
function sum(...numbers)
{
return numbers.length; }
function sum(a, b, c...) {}
function(...args) => args
function sum([...args])
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?