From 8464b184b756c8dea0d361bd2f07670617118c47 Mon Sep 17 00:00:00 2001 From: Younes Fkihi <13110140+younesfkihi@users.noreply.github.com> Date: Fri, 10 Nov 2017 16:45:27 +0100 Subject: [PATCH] Remove `map` examples from `parseInt` and `trim` (#3487) --- parseInt.js | 3 --- trim.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/parseInt.js b/parseInt.js index 6e1cb794a..b8975ccb5 100644 --- a/parseInt.js +++ b/parseInt.js @@ -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) { diff --git a/trim.js b/trim.js index 82bc6cd55..c79ead74c 100644 --- a/trim.js +++ b/trim.js @@ -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) {