This topic contains a solution. Click here to go to the answer

Author Question: What would the browser display if the following script is executed? var count = 0, total = 0; while ... (Read 22 times)

bobthebuilder

  • Hero Member
  • *****
  • Posts: 567
What would the browser display if the following script is executed?
 
  a) Nothing, the browser would generate an error.
  b) 0
  c) 50
  d) 60

Question 2

What would the browser display if the following code was executed in a script? var product = 0; while ( product <= 25 ); product = 2 + product;
 
  a) nothing, the script would result in an error
  b) 0
  c) 25
  d) 26



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

1_Step_At_ATime

  • Sr. Member
  • ****
  • Posts: 342
Answer to Question 1

Ans: (d)

Answer to Question 2

Ans: (a)




bobthebuilder

  • Member
  • Posts: 567
Reply 2 on: Jul 7, 2018
Wow, this really help


lkanara2

  • Member
  • Posts: 329
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

Liver spots have nothing whatsoever to do with the liver. They are a type of freckles commonly seen in older adults who have been out in the sun without sufficient sunscreen.

Did you know?

In the United States, there is a birth every 8 seconds, according to the U.S. Census Bureau's Population Clock.

Did you know?

Multiple sclerosis is a condition wherein the body's nervous system is weakened by an autoimmune reaction that attacks the myelin sheaths of neurons.

Did you know?

Always store hazardous household chemicals in their original containers out of reach of children. These include bleach, paint, strippers and products containing turpentine, garden chemicals, oven cleaners, fondue fuels, nail polish, and nail polish remover.

Did you know?

As the western states of America were settled, pioneers often had to drink rancid water from ponds and other sources. This often resulted in chronic diarrhea, causing many cases of dehydration and death that could have been avoided if clean water had been available.

For a complete list of videos, visit our video library