Loading…
Loading…
Twenty-five questions on creating objects and prototypes, Object.create(null), dot vs bracket access, inherited reads and shadowing writes, in vs Object.hasOwn, key order, Object.assign and spread, JSON, toString and valueOf, literal syntax, and getters and setters.
Review quiz for Part 6 (Objects) of the JavaScript course, articles 46 to 53: from JavaScript Objects: Creating Objects with Literals, new and Object.create to JavaScript Getters and Setters: Accessor Properties, Validation and Computed Values.
Most questions show a short program and ask what it prints. Every one was run on Node.js to confirm the answer. Aim for at least 18 out of 25 before starting Part 7.
Quiz path: step 5 of 20. Take the quizzes in this order, after reading the articles they cover.
Previous quiz: Statements Review (JavaScript Part 5)
Next quiz: Arrays Review (JavaScript Part 7)
25 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.