This commit is contained in:
David Arranz 2019-08-09 17:48:04 +02:00
parent 0aa5be7873
commit 973fcc4c29

View File

@ -12,8 +12,8 @@ moment.locale('es');
function generateNewCodeTicket() {
this.length = 8;
this.timestamp = +new Date;
let length = 8;
let timestamp = +new Date;
var _getRandomInt = function (min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;