Solved

Identify the Correct Syntax to Add Methods to a Custom

Question 42

Multiple Choice

Identify the correct syntax to add methods to a custom object.


A) var objName = { function: method () { commands } }
B) var objName = { method: function() { commands } }
C) Commands = { method: function() { var objName } }
D) var objName = { function() { method() } }

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions