Your console.log Is Lying to You

console.log() feels like a direct window into your program's state. It isn't. Here are the ways the console misleads you, and why each one exists.