Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
move datatable to yarn
Commit Description:
move datatable to yarn
'use strict' ;
// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap
var $export = require ( './_export' );
var flattenIntoArray = require ( './_flatten-into-array' );
var toObject = require ( './_to-object' );
var toLength = require ( './_to-length' );
var aFunction = require ( './_a-function' );
var arraySpeciesCreate = require ( './_array-species-create' );
$export ( $export . P , 'Array' , {
flatMap : function flatMap ( callbackfn /* , thisArg */ ) {
var O = toObject ( this );
var sourceLen , A ;
aFunction ( callbackfn );
sourceLen = toLength ( O . length );
A = arraySpeciesCreate ( O , 0 );
flattenIntoArray ( A , O , O , sourceLen , 0 , 1 , callbackfn , arguments [ 1 ]);
return A ;
}
});
require ( './_add-to-unscopables' )( 'flatMap' );
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings