renjay257
renjay257 renjay257
  • 01-03-2021
  • Computers and Technology
contestada

What will the following program display in the console?

var sum = 0
for(var i = 0; i < 5; i++){
sum = sum + i
}
console.log(sum);

A. 15
B. 10
C. 5
D. 0

Respuesta :

1207153 1207153
  • 05-03-2021

Answer:

b- 10

Explanation:

Answer Link

Otras preguntas

Help please! I dont understand, and im having a hard time in Science.
Why isn’t there anyone helping for chemistry I need this by literally tomorrow morning before 8:30 ;-; 4.) Draw XY3 where X has 5 valence electrons and Y has 7
What’s the factory of 15y - 21z
A researcher found a study relating the mortality rates for women aged 65 to 74, y, to the proportion of calories from sweeteners in their diets, x. When resear
Square ACEG is inscribed in the regular octagon ABCDEFGH as shown. What is the ratio of the area of square ACEG to the area of octagon ABCDEFGH? Express your an
math is my answer correct?? pls check!
a) Decide if the graph is discrete or continuous. b) Give the domain and range of the graph. c) Decide if the graph is a function. Explain.
Explain race condition..don't spam..​
Which two of these are essential for completing an initial mortgage loan application quizlet.
What type of sculptures were traditionally destroyed after the ceremony for which they were created? A. malagan B. tiki C. maoi D. Aboriginal