Identify thename:valuepair that includes a function name and its commands, which is used to add methods to a custom object.

A. var objName = {method: function() {commands}}
B. var objName = {command.function() {method()}}
C. var obj= {function() {commands}}
D. var objName = {function:method() {commands}}

Answer: A

Computer Science & Information Technology

You might also like to view...

The ________ Shapes command removes the shape of a second selected object from the area of the first object on a slide

Fill in the blank(s) with correct word

Computer Science & Information Technology

Both the Text Pane and the SmartArt graphic contain ________ in which you can type text

Fill in the blank(s) with correct word

Computer Science & Information Technology