it should not fail but there is a check there that throws a null exception. if (string === '') { throw null }
it should not fail but there is a check there that throws a null exception.
if (string === '') {
throw null
}