JSFiddle - React, Tailwind, and code Playground
by Nick Craver
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
JavaScript
var Options = {};
function AddItem(key, value) {
if(Options[key])
Options[key].push(value);
else
Options[key] = [value];
}
AddItem(2, 5);
AddItem(2, 6);
console.log(Options);