This is useless. The next line will throw a TypeError if `str` is `null`.