This is more a question than an issue.
I was looking at the tests and wasn't able to answer the following question: how should word-wrap handle the nullor undefined case ?
I saw this in the index.js
if (str == null) {
return str;
}
Don't you think this should return an empty string ?