Host information

so can you give me an example of what that will look like when i pass it to the console.

Im still really new to programming and JS, so a lot of this is hard for me to wrap my head around.