JavaScript hiện đại: từ cơ bản đến nâng cao (ES2026)›12. JavaScript trong trình duyệt và Node.jsQuiz: Trình duyệt và Node.jsChọn đáp án đúng.Question 1.`el.innerHTML = comment``el.textContent = comment``document.write(comment)`Question 2.Gắn một listener ở phần tử cha và dựa vào sự kiện nổi bọt để xử lý cho các phần tử conGắn listener cho từng phần tử conDùng `stopPropagation` ở mọi nơiQuestion 3.Cookie `HttpOnly``localStorage`Question 4.Select all correct answers.Tự chạy lại khi sửa file (`--watch`)Đọc file `.env` (`--env-file`)Test runner (`node:test`)Kiểm tra kiểu TypeScript khi chạy file `.ts`Question 5.Nghe sự kiện `scroll` và tính vị trí mỗi lần`IntersectionObserver` theo dõi một phần tử ở cuối danh sách`setInterval` kiểm tra mỗi 100msCheck Mark as completed← PreviousNext →Comments
Comments