InterviewSolution
Saved Bookmarks
| 1. |
What will be the output of the following code?<script>let result = 0;for (let i = 0; i < 5; i++) {result += i;}document.write(result);</script>(A) 5(B) 0(C) 10(D) None of the above |
| Answer» | |