Skip to content
IT Courses
Courses
Blog
Search
/
VI
Quiz: Prototype và Class · JavaScript hiện đại: từ cơ bản đến nâng cao (ES2026)
Curriculum
›
7. Prototype và Class
Quiz: Prototype và Class
Mark as completed
← Previous
Next →
Comments
Question 1.
Trên từng instance
Trên `User.prototype`
Trên `Object.prototype`
Question 2.
Chạy bình thường
Ném `ReferenceError`
`this` là `undefined`
Question 3.
Select all correct answers.
Không xuất hiện trong `Object.keys`
Truy cập `obj.#x` từ ngoài class là `SyntaxError`
Có thể đọc bằng `obj["#x"]`
Có thể kiểm tra bằng `#x in obj` bên trong class
Question 4.
`Object.prototype`
`Array.prototype`
`null`
Question 5.
Mỗi lần tạo instance
Một lần, khi class được định nghĩa
Khi gọi method static đầu tiên
Check
JavaScript hiện đại: từ cơ bản đến nâng cao (ES2026)
Chọn đáp án đúng.
Comments