Table of contents Home page
Execute this code
var th = Math.floor(Math.random() * 6 + 1) // Simulates a dice throw alert(th)