+ 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?
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.
0
You use (alert) method to output the result of codes or System.out.println() that's for java