This code does not print any output to the console. What is wrong?
firstName?.let { println("Greeting $firstname!") }
firstName is equal to Boolean false
firstName
false
A null pointer exception is thrown
firstName is equal to null
null
firstName is equal to an empty string