Welcome to the quiz! Try to answer those questions, which cover the topics of this module.
- tell the various ways you can use to initialize an object
- how can you set a property of an object? And how can you get its value?
- what is a method? What’s the difference between a method and a function?
- describe in your own words what is the prototype of an object
- do you find classes more intuitive to use?
- what is the useful thing about getters and setters?
- what’s the main difference between
Object.values()
andObject.entries()
? - describe what object destructuring means and what is the result of a destructuring operation
- shallow cloning vs deep cloning: what’s the difference?
- how can we merge 2 objects?