mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-07-15 17:18:29 -06:00
PR-753737: moviendo toda la logica de front-end a src.
This commit is contained in:
@ -1,11 +0,0 @@
|
||||
const PRName = function () {
|
||||
let ID = "";
|
||||
// let characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||
let characters = "0123456789";
|
||||
for ( var i = 0; i < 6; i++ ) {
|
||||
ID += characters.charAt(Math.floor(Math.random() * 10));
|
||||
}
|
||||
return 'PR-'+ID;
|
||||
};
|
||||
|
||||
console.log(PRName())
|
Reference in New Issue
Block a user