Closed ifiok closed 7 years ago
constants const cannot change through re-assignment so this block uid += chars[getRandomInt(0, charsLength - 1)]; throws an error: TypeError: Assignment to constant variable.
const
uid += chars[getRandomInt(0, charsLength - 1)];
TypeError: Assignment to constant variable.
Fixed in another PR.
constants
const
cannot change through re-assignment so this blockuid += chars[getRandomInt(0, charsLength - 1)];
throws an error:TypeError: Assignment to constant variable.