JSFiddle - React, Tailwind, and code Playground

JavaScript

$.each({ 1: "?" }, function(key, val) {
    alert(typeof key);
});
$.each({ "1": "?" }, function(key, val) {
    alert(typeof key);
});