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:
Premises:
Responses:
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
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:
Related Questions
Q67: Which of the following objects is also
Q68: Identify the advantage of using JavaScript's built-in
Q69: Identify the expression used to reference a
Q70: Case-Based Critical Thinking Questions Case 13-2 Michelle
Q71: _ objects are extended by adding new
Q72: Instantiating an object from a constructor function
Q73: A prototype chain ranges from the base
Q74: Identify the use of var objInstance =
Q75: You should use the _ method to
Q77: Which of the following notations is used