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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started