Skip to content

Commit

Permalink
Remove map examples from parseInt and trim (#3487)
Browse files Browse the repository at this point in the history
  • Loading branch information
younesfkihi authored and jdalton committed Nov 10, 2017
1 parent c3b3c71 commit 8464b18
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions parseInt.js
Expand Up @@ -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) {
Expand Down
3 changes: 0 additions & 3 deletions trim.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 8464b18

Please sign in to comment.