Question
How can a JavaScript developer modify a scalar global variable from within a function? Question 16 options: 1) Refer to the global variable by its
How can a JavaScript developer modify a scalar global variable from within a function?
Question 16 options:
| |||
| |||
| |||
|
Save
Question 17 (5 points)
What is the value of variable b after the following JavaScript fragment is evaluated? What is the value of a? a = 3; b = ++a * 4;
Question 17 options:
| |||
| |||
| |||
|
Save
Question 18 (5 points)
If two JavaScript objects are created using the same constructor, can the developer be certain they contain identical properties and methods. Why or why not?
Question 18 options:
| |||
| |||
| |||
|
Save
Question 19 (5 points)
What is the difference between a JavaScript while statement and a do-while statement?
Question 19 options:
| |||
| |||
| |||
|
Save
Question 20 (5 points)
Given the ID of an HTML element, how can the JavaScript developer obtain a pointer to the element within the document object?
Question 20 options:
| |||
| |||
| |||
|
Save
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