`toString` already converts `undefined` and `null` to empty string, so this line could be just `return toString( get(replacements, prop) );`