Share Posted June 22, 2020 When using "random()", the value ends up as a string. I would expect it's type to stay the same. This can cause problems with code that is expecting the value to be a number. See the Pen 58964daaa90343ed392c30ed9bffe9dc by osublake (@osublake) on CodePen Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now