The last snippet assume that everyone knows what the first argument of console.log should be.
So it's leas clear. But both are fine if we're just logging the value straight up.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.