How should you complete the relevant code?

HOTSPOT
You develop an HTML messaging application that allows users to send messages. The messages can have an
optional file attachment that is identified by a filename.
You use the following function to send a message:

You need to send a message with a file attachment.
How should you complete the relevant code? (To answer, select the appropriate option from each drop-down
list in the answer area.)
Hot Area:

HOTSPOT
You develop an HTML messaging application that allows users to send messages. The messages can have an
optional file attachment that is identified by a filename.
You use the following function to send a message:

You need to send a message with a file attachment.
How should you complete the relevant code? (To answer, select the appropriate option from each drop-down
list in the answer area.)
Hot Area:

Answer:

Explanation:
Object Properties
The name:values pairs (in JavaScript objects) are called properties.
var person = {firstName:”John”, lastName:”Doe”, age:50, eyeColor:”blue”};
JavaScript Objects



Leave a Reply 0

Your email address will not be published. Required fields are marked *