98-382 Object Practice Questions
The free 98-382: Introduction to Programming Using JavaScript questions that deal with object, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #6
Alex has created an object to store user data. What syntax correctly accesses the 'age' property of the 'user' object?
Correct answer: B
Explanation
Both dot notation (user.age) and bracket notation (user["age"]) are used to access properties in a JavaScript object, but dot notation is more common.
Question #10
When debugging, what console method would provide an easy way to view an object's properties?
Correct answer: B
Explanation
console.log() outputs information to the web console, which is useful for debugging and viewing properties of objects and other values.
Continue with 98-382: Introduction to Programming Using JavaScript
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-382: Introduction to Programming Using JavaScript, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
All 98-382: Introduction to Programming Using JavaScript practice questions →
