Javascript; using the math.random function to do a action randomly?
<p>Well, my question is: using the math.random function to execute a another function randomly, for a example, when the math.random function chooses any number except 2, nothing will happen. When math.random function chooses 2 then the next function will execute. Making it random. Please, if you have any ideas please help me. Thanks in advance!! </p>
