`'' + text` will call `text.toString()` for you. So I think the best bet will actually be to clean this code up a little bit so we aren't special casing anything (maybe empty string is fine).