How do I access a property of an object that is written like this “ex-states”
example:
const product1: {
'ex-states': 'NY,AK',
tags: 'freeshipping,shipalone',
pts: '1=60',
},
if(product1."ex-states".includes("FL")){
console.log("test passed")
}