Episode 19b - Things That Can Go Wrong With Hashes
Assume that we see this inside irb:
Create hash that would cause us to get this error.
hash["a"].capitalize + hash["b"] + hash["c"].upcase
TypeError: no implicit conversion of nil into String
from (irb):4:in `+'
Let's say we have an empty hash assigned to a variable called 'hash'. If we were to say:
what would it return?
Next, define the above hash in a way so that it would return the number 0 instead.