source: node_modules/victory-vendor/lib-vendor/d3-array/src/merge.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 253 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = merge;
7function* flatten(arrays) {
8 for (const array of arrays) {
9 yield* array;
10 }
11}
12function merge(arrays) {
13 return Array.from(flatten(arrays));
14}
Note: See TracBrowser for help on using the repository browser.