Categories:

.Using the random method to create random scripts

The word "random" has always raised interesting debates between mathematicians and philosophers. Do events in life really occur randomly or not? I don't know about you, but among JavaScripters, we just don't care about these philosophical issues. All we care about is how to simulate this randomness to create a "random engine"  that can be applied to scripts. Scripts using this random engine will behave randomly, not to be confused with erratically! Ok, in this tutorial, I'll show you you need to know to create random scripts in JavaScript: