When we display variables in the console, their values appear instead of their names, here if we print name it'll show its value.

Make sure to pick name. We want to display the variable's value.