When outputting messages into the console, the source is also displayed (in Chrome Developer Tools it\'s on the right):
console.log(\"Foo\");
for those who are still looking for this, you can use something like
function consoleWithNoSource(...params) { setTimeout(console.log.bind(console, ...params)); } consoleWithNoSource("Helloo....!")