PR-188649:

Creating the first initial version of the create component library.
This commit is contained in:
2022-05-30 15:17:49 +00:00
parent 0ed870a1a6
commit 55b0b9f2c3
15 changed files with 12386 additions and 0 deletions

11
PRNameGenerator.ts Normal file
View File

@ -0,0 +1,11 @@
const PRName = function () {
let ID = '';
// let characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
const characters = '0123456789';
for ( let i = 0; i < 6; i++ ) {
ID += characters.charAt(Math.floor(Math.random() * 10));
}
return 'PR-'+ID;
};
console.log(PRName());