JSFiddle - React, Tailwind, and code Playground

HTML

<select>

</select>

JavaScript

var sel = $("select");
for (var i = 1; i <= 50; i++) {
    var temp = new Option(i,i);
    sel[0].options[sel[0].options.length] = temp;
}