Solved

Match the Following Object Properties/methods to Their Respective Descriptions

Question 70

Matching

Match the following object properties/methods to their respective descriptions.

Premises:
Returns an array of the enumerable properties found in obj
Returns the value of object as a text string, number, Boolean value, undefined, or null
Returns the value of object as a text string, number, Boolean value, undefined, or null
Returns true if the prop property is enumerable
Returns true if object exists in object obj prototype chain
Returns true if obj is frozen
Returns true if the prop property is enumerable
Returns the value of object as a text string, number, Boolean value, undefined, or null
Returns true if obj is frozen
Returns true if object exists in object obj prototype chain
Returns an array of the enumerable properties found in obj
Returns true if object has the specified property, prop
Defines or modifies the properties, prop , for the object, obj
References the constructor function that creates object
References the prototype of the object, obj
Creates an object using the prototype, proto ; where properties is an optional list of properties added to the object
Returns true if object exists in object obj prototype chain
References the prototype of the object, obj
Returns true if object has the specified property, prop
References the constructor function that creates object
Returns true if the prop property is enumerable
References the constructor function that creates object
Creates an object using the prototype, proto ; where properties is an optional list of properties added to the object
Returns true if object has the specified property, prop
Defines or modifies the properties, prop , for the object, obj
Responses:
Object.defineProperties(obj, props)
Object.getPrototypeOf(obj)
object.constructor
Object.create(proto, properties)
Object.isFrozen(obj)
object.isPrototypeOf(obj)
object.propertyIsEnumerable(prop)
object.valueOf()
Object.keys(obj)
object.hasOwnProperty(prop)

Correct Answer:

Returns an array of the enumerable properties found in obj
Returns the value of object as a text string, number, Boolean value, undefined, or null
Returns the value of object as a text string, number, Boolean value, undefined, or null
Returns true if the prop property is enumerable
Returns true if object exists in object obj prototype chain
Returns true if obj is frozen
Returns true if the prop property is enumerable
Returns the value of object as a text string, number, Boolean value, undefined, or null
Returns true if obj is frozen
Returns true if object exists in object obj prototype chain
Returns an array of the enumerable properties found in obj
Returns true if object has the specified property, prop
Defines or modifies the properties, prop , for the object, obj
References the constructor function that creates object
References the prototype of the object, obj
Creates an object using the prototype, proto ; where properties is an optional list of properties added to the object
Returns true if object exists in object obj prototype chain
References the prototype of the object, obj
Returns true if object has the specified property, prop
References the constructor function that creates object
Returns true if the prop property is enumerable
References the constructor function that creates object
Creates an object using the prototype, proto ; where properties is an optional list of properties added to the object
Returns true if object has the specified property, prop
Defines or modifies the properties, prop , for the object, obj
Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents