JSFiddle - React, Tailwind, and code Playground

JavaScript

let store = []

const numbers = Array.from(Array(100), (_,i) => i+1) // numbers from 1 to 100

numbers.forEach(firstNum => {
	numbers.forEach(secondNum => {
  	numbers.push([firstNum, secondNum])
  })
})

let randomStoreIndex = Math.floor(Math.random()*store.length)
let randomUniquePair = store[randomStoreIndex]
store.splice(randomStoreIndex, 1)

console.log(randomUniquePair)
console.log(store)