javascript alert random number code example Example: js random int let int = Math.floor(Math.random() * 10);