1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
define( [ "./arr" ], function( arr ) { "use strict"; // Support: IE 11+, Edge 18+ // Provide fallback for browsers without Array#flat. return arr.flat ? function( array ) { return arr.flat.call( array ); } : function( array ) { return arr.concat.apply( [], array ); }; } );