O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

the code sets the variable access to the result of calling the document object’s getElementById method and passing it “code9”. What gets returned is an element object.

From

Cover of Head First JavaScript Programming

Note

How to use getElementById method on a document (which is a webpage object) to get an HTML element?