Simplify baseToString.

This commit is contained in:
jdalton
2015-06-28 14:26:18 -07:00
parent 5acf5f6ee3
commit c77ffa0f6a

View File

@@ -382,9 +382,6 @@
* @returns {string} Returns the string.
*/
function baseToString(value) {
if (typeof value == 'string') {
return value;
}
return value == null ? '' : (value + '');
}