+ 1

I often stuck when it comes to solving problems like tell the output of following code, etc.

I understand how loops work and function but these kind of above mentioned problems always demotivate me to learn javascript anymore. Can anybody tell how to improve that part in programming?

8th Dec 2016, 5:03 PM
BHAVUK JAIN
BHAVUK JAIN - avatar
2 Answers
+ 1
it actually need some tricks. 1. check inputs, declarations 2. check output variable. 3. now go for checking the role of output variable in the code. its speed will improve on practising..all the best! dont give up.
8th Dec 2016, 5:15 PM
Rithu.O.R
0
You use (alert) method to output the result of codes or System.out.println() that's for java
8th Dec 2016, 5:25 PM
Decodeworms Olamilekan
Decodeworms Olamilekan - avatar