On various websites you can discover messages (mostly for developers) when you open the Developer Tools. For instance on Facebook you get this message:

But how do they hide the reference from which line this code is fired?
When I type console.log or any other function from the Console API there is always a reference link like app.js:20 on the right end of line.