11.
How do you define a method in a constructor function?
12.
What does Object.keys(obj) return?
13.
How can you check if a property exists in an object?
14.
Which of the following is the correct way to delete a property from an object?
15.
What will car['make'] return if var car = {make: 'Ford', model: 'Mustang'};?
16.
How can you iterate over all properties of an object?
17.
What does Object.assign(target, ...sources) do?
18.
How do you define a class in JavaScript ES6?
19.
How do you define a method inside a class in JavaScript ES6?
20.
What is encapsulation in the context of JavaScript objects?