forked from ard/ruoyi-api

zhangjianrock@163.com
2024-01-29 0aed2059381eb175e3050c2ee155fe2c25ef88b8
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';
var $ = require('../internals/export');
var addToUnscopables = require('../internals/add-to-unscopables');
var uniqueBy = require('../internals/array-unique-by');
 
// `Array.prototype.uniqueBy` method
// https://github.com/tc39/proposal-array-unique
$({ target: 'Array', proto: true, forced: true }, {
  uniqueBy: uniqueBy
});
 
addToUnscopables('uniqueBy');