JS

Objects in JavaScript - Object definition - method...

21.

Which of the following methods is used to define an object in JavaScript?

Object.assign()

Object.create()

Object.defineProperties()

Object.freeze()