JSFiddle - React, Tailwind, and code Playground
by bilbobaggins
JavaScript
var ageGroup = {
30 : "Children",
100 : "Very Old"
};
console.log(ageGroup)
console.log(ageGroup["30"]);
by bilbobaggins
var ageGroup = {
30 : "Children",
100 : "Very Old"
};
console.log(ageGroup)
console.log(ageGroup["30"]);