forked from ard/ruoyi-api

zhangnaisong
2024-03-09 bf2f8eed673c71b28364e91223bd6fe86be3b07c
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');