mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Fixin new map imports.
This commit is contained in:
@@ -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) : ''
|
||||
|
||||
Reference in New Issue
Block a user