cấu hình chạy lần đầu - chưa thực hiện test

This commit is contained in:
Victor Phan
2026-01-08 12:00:20 +07:00
parent 2f694b5c1c
commit 0bdd0ad2e7
3683 changed files with 285051 additions and 292350 deletions

18
node_modules/lodash/_baseSampleSize.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
var baseClamp = require('./_baseClamp'),
shuffleSelf = require('./_shuffleSelf'),
values = require('./values');
/**
* The base implementation of `_.sampleSize` without param guards.
*
* @private
* @param {Array|Object} collection The collection to sample.
* @param {number} n The number of elements to sample.
* @returns {Array} Returns the random elements.
*/
function baseSampleSize(collection, n) {
var array = values(collection);
return shuffleSelf(array, baseClamp(n, 0, array.length));
}
module.exports = baseSampleSize;