@tet-vivi thank you for the answer. Didn't saw that function
How To Do Specific Task x% Of The Times?
-
Hello, What Logic Should I Use If I Want To Do The Specific Task Only x% Of The Time?
For Example:-
95% Of The Time It Should Open youtube.com
But 5% Of The Time It Should Open google.comI Am Confused How To Detect That Which Thread Will Be The 5%.
-
@elleevans Math.floor(Math.random() * 100) > 95