Examlex

Solved

Consider the Following Script

question 5

Multiple Choice

Consider the following script. What is wrong with the following code
< script type = "text/javascript" >
Var firstNumber;
ThirdNumber;
FirstNumber = window.prompt("Enter an integer", "0") ;
SecondNumber = window.prompt("Enter an integer", "0") ;
ThirdNumber = firstNumber + secondNumber;
< /script >


Definitions:

Cognitive Development

The process by which individuals acquire and understand knowledge, develop thinking and problem-solving skills, and learn to perceive the world.

Separation Anxiety

An emotional condition experienced by individuals, especially children, due to separation from familiar people or environments.

Babysitter

An individual who temporarily cares for children on behalf of the children's parents or guardians.

Developmental Scientist

A researcher specializing in the study of how humans change and grow over the course of their lives, from infancy through old age.

Related Questions