|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
326 bytes
|
| Line | |
|---|
| 1 | define(['./restArguments', './uniq', './_flatten'], function (restArguments, uniq, _flatten) {
|
|---|
| 2 |
|
|---|
| 3 | // Produce an array that contains the union: each distinct element from all of
|
|---|
| 4 | // the passed-in arrays.
|
|---|
| 5 | var union = restArguments(function(arrays) {
|
|---|
| 6 | return uniq(_flatten(arrays, true, true));
|
|---|
| 7 | });
|
|---|
| 8 |
|
|---|
| 9 | return union;
|
|---|
| 10 |
|
|---|
| 11 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.