We can use optional chaining to print the contents of name only if there are contents.

See that? If name has a value, the value is printed; if it doesn't, nothing is printed.

That doesn't look right, does it?