Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for random.js

(view source code of random.js as plain text)

  1. // Generate and display a random number between (and including) 1 and 100
  2. WScript.Echo( Math.floor( 100 * Math.random( ) + 1 ) );
  3.  

page last uploaded: 2017-08-21, 14:26