I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.
They aren’t the same, you’ve done clearly different things. The first one you log the object, the second one is what you get when you convert it to a string (it’s telling you it’s an object)
That’s what template literals are for, they build strings. And an object is just a reference, the values in the object aren’t in the same place, so it can’t give you anything else except what it is (an object) and what type of object it is (just a plain object)