Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

3) what number will be output by the console.log command on line 5? var…

Question

  1. what number will be output by the console.log command on line 5? var kit = 20; var roo = 10; kit = kit + 5; roo = kit + roo; console.log(roo); 10 25 30 35

Explanation:

Step1: Calculate the value of kit after line 3

After line 3, kit = 20 + 5=25

Step2: Calculate the value of roo after line 4

After line 4, roo=25 + 10 = 35

Answer:

35