Are you sure?  I don't see how this code could throw a ```TypeError```