Fixin new map imports.

This commit is contained in:
Michał Lipiński
2017-04-18 09:33:58 +02:00
parent e5e8f35c06
commit bb059c0f64
14 changed files with 28 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
import arrayMap from './.internal/arrayMap.js'
import map from './map.js'
import isSymbol from './isSymbol.js'
/** Used as references for various `Number` constants. */
@@ -37,7 +37,7 @@ function toString(value) {
}
if (Array.isArray(value)) {
// Recursively convert values (susceptible to call stack limits).
return `${arrayMap(value, (other) => other == null ? other : toString(other))}`
return `${map(value, (other) => other == null ? other : toString(other))}`
}
if (isSymbol(value)) {
return symbolToString ? symbolToString.call(value) : ''