Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
14
VApp/node_modules/fast-unique-numbers/build/node/factories/add-unique-number.js
generated
vendored
Normal file
14
VApp/node_modules/fast-unique-numbers/build/node/factories/add-unique-number.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.createAddUniqueNumber = void 0;
|
||||
const createAddUniqueNumber = generateUniqueNumber => {
|
||||
return set => {
|
||||
const number = generateUniqueNumber(set);
|
||||
set.add(number);
|
||||
return number;
|
||||
};
|
||||
};
|
||||
exports.createAddUniqueNumber = createAddUniqueNumber;
|
||||
Reference in New Issue
Block a user