← Phòng luyện tậpOnline Testing · 20 câu
JavaScript runtime và dữ liệu trên UI
20 câu về reference, async, Fetch, event loop, worker và hợp đồng dữ liệu phía frontend.
Nội dung luyện tập
- distinguish binding and object mutation
- normalize form value before comparison
- choose array transformation with return
- preserve valid falsy configuration
- distinguish null from missing default
- reason about sync and microtask order
- check http status after fetch
- separate default action and event propagation
- sort numbers with explicit comparator
- separate promise aggregation and cancellation
- prevent outdated async result commit
- avoid awaiting foreach return
- yield main thread beyond microtasks
- reason about floating point tolerance
- copy nested state at mutated path
- scope abort controller to operation
- validate untrusted runtime data
- offload cpu with message contract
- bound started async work
- preserve large integer identifiers
Mỗi câu đúng 1 điểm. Mục tiêu 70%. Đáp án và giải thích mở sau khi nộp bài.