Remove map examples from parseInt and trim (#3487)

This commit is contained in:
Younes Fkihi
2017-11-10 16:45:27 +01:00
committed by John-David Dalton
parent c3b3c71b0a
commit 8464b184b7
2 changed files with 0 additions and 6 deletions

View File

@@ -23,9 +23,6 @@ const nativeParseInt = root.parseInt
*
* parseInt('08')
* // => 8
*
* map(['6', '08', '10'], parseInt)
* // => [6, 8, 10]
*/
function parseInt(string, radix) {
if (radix == null) {

View File

@@ -19,9 +19,6 @@ import stringToArray from './.internal/stringToArray.js'
*
* trim('-_-abc-_-', '_-')
* // => 'abc'
*
* map([' foo ', ' bar '], trim)
* // => ['foo', 'bar']
*/
function trim(string, chars) {
if (string && chars === undefined) {