properly, out-of-range string indexing returns `undefined` rather than `null`
travisplexer: pr-542-linux travis ci test