source:
node_modules/es-toolkit/dist/array/union.js
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 221 bytes | |
| Rev | Line | |
|---|---|---|
| [a762898] | 1 | 'use strict'; |
| 2 | ||
| 3 | Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
| 4 | ||
| 5 | const uniq = require('./uniq.js'); | |
| 6 | ||
| 7 | function union(arr1, arr2) { | |
| 8 | return uniq.uniq(arr1.concat(arr2)); | |
| 9 | } | |
| 10 | ||
| 11 | exports.union = union; |
Note:
See TracBrowser
for help on using the repository browser.
