InterviewSolution
Saved Bookmarks
| 1. |
Which exception does the Iterators throw from their next() method when there are no more values to iterate, that work on finite collections?(a) Exit Iteration(b) Abort Iteration(c) Abort(d) Stop IterationThe question was posed to me during an internship interview.This interesting question is from JavaScript Extensions in section Classes and Modules in JavaScript of JavaScript |
|
Answer» The correct answer is (d) Stop ITERATION |
|