Thanks, guys, for answers. It seems to be working now. I'm not sure what was the problem but I didn't change my code at all. @WarInternal Yeah, I tried to both const & let in the command line and always got the same issue. There is no scope blocking in the code. Everything is working
Fixser
@Fixser
3
Posts
663
Profile views
0
Followers
0
Following
Posts made by Fixser
-
RE: Issue with assigning Math.random() to a variable (getting undefined).
-
RE: Issue with assigning Math.random() to a variable (getting undefined).
So, I didn't change anything and now it starts working again. I'm not sure what was the issue. But we can close this report for now.
-
Issue with assigning Math.random() to a variable (getting undefined).
at some reason yesterday Math.random(); stop working. Console shows 'undefined'. It was working yesterday.
UPDATE. Math.random() is working by self. But I'm still getting undefined value when I'm trying to assign Math.random to a variable. I'm pretty sure it was working before.