QUESTION IMAGE
Question
- 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
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
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
35