Any one know where the function window.document.all is defined? Tried searches but nothing coming up.
Edit: note I am aware that thus deprecated and documentgetelementbyid should be used. still need to know what is executed when this function is run.
It has nothing to do with Google V8. It is a legacy property of the document object. It stores an array of all elements in the document, indexed by ID.
You should use
If you are asking this question then the source code will probably not be useful to you in the first place. But here you go: