iterating through document elements using for each in javascript

Solutions on MaxInterview for iterating through document elements using for each in javascript by the best coders in the world