24 lines
559 B
JavaScript
Executable File
24 lines
559 B
JavaScript
Executable File
[
|
|
{
|
|
'repeat:100': {
|
|
|
|
|
|
code: function(tags){
|
|
|
|
function randHex(){ return ['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'][Math.floor(Math.random()*16)]; }
|
|
|
|
return randHex()+randHex()+'-'+randHex()+randHex()+'-'+randHex()+randHex()+'-'+randHex()+randHex();
|
|
},
|
|
|
|
|
|
name: function(tags){
|
|
|
|
function randLet(){ return String.fromCharCode(65+Math.floor(Math.random()*26)); }
|
|
|
|
return randLet()+randLet()+randLet()+randLet()+randLet();
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
] |