Question: What must be true of a JavaScript function to allow it to be used within an expression. Question 1 options: 1) Nothing; any JavaScript function
What must be true of a JavaScript function to allow it to be used within an expression.
Question 1 options:
| |||
| |||
| |||
|
Save
Question 2 (5 points)

A Web developer wants to let the browser determine the initial positions of an element on a page, but wants to be able to move it later by using JavaScript. What position parameter should the developer code?
Question 2 options:
| |||
| |||
| |||
|
Save
Question 3 (5 points)

When variables are passed as arguments to a JavaScript function, are they passed by value or by reference? (Passing by reference is also called passing by name.)
Question 3 options:
| |||
| |||
| |||
|
Save
Question 4 (5 points)

Some CSS names contain hyphens, for example, margin-left. JavaScript must be able to refer to CSS properties. How are such names expressed in JavaScript?
Question 4 options:
| |||
| |||
| |||
|
Save
Question 5 (5 points)

What does the JavaScript confirm( ) method do?
Question 5 options:
| |||
| |||
| |||
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
