When I declared a variable like:
const FileId = Math.random().toString(36).substr(2, 9);
I am getting this error in Sonar:
Make sure that using this pseudorandom number generator is safe here.
How should I address this? What is wrong with my code?
Can anyone help me?