JSFiddle - React, Tailwind, and code Playground

by GregWoods

HTML

<select id="s1">
</select>

JavaScript

var select = document.getElementById('s1');
for (var i = 0; i < 10000; i++) {
    var option = document.createElement ("option");
    option.text = i;
    option.value = i;
    select.appendChild (option);
}