I was wondering how can I use array push to add values for DeliveryArea. All values will come from php variables. I am beginner in using JS and want to learn and invade js.
var Category = {
"Status": ["Unpaid", "Paid", "Pending"],
"OrderDate": ["123", "123", "123"],
"DeliveryArea": [],
}
DeliveryAreaarray using the dot notation and usearray#pushmethod to add new value to it.Category.DeliveryArea.push("value")