How should you complete the relevant code?

Posted by: Pdfprep Category: 70-480 Tags: , ,

Topic 3, Volume C

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.)

Answer:

Explanation:

Object Properties

The name: values pairs (in JavaScript objects) are called properties.

var person = {firstName:"John", lastName:"Doe", age:50, eyeColor:"blue"};

Reference: JavaScript Objects

Leave a Reply

Your email address will not be published.