pmarcinkiew / jerryscript

Ultra-lightweight JavaScript engine for the Internet of Things.
http://jerryscript.net
Apache License 2.0
0 stars 0 forks source link

Math.random uses rand without srand #3

Open tosyu opened 7 years ago

tosyu commented 7 years ago

srand should be run on jerry-script init to ensure the value is random on each jerry-script run, this works great in nodejs