How the numbers are picked
Each time you press Generate again, a fresh seed comes from your browser's cryptographic random source (crypto.getRandomValues), and every number in the range is then equally likely. With repeats turned off, a number that has already been drawn is skipped, as when you pull tickets out of a hat.
The range includes both ends: 1 to 100 can give 1 and 100.