I have this object returned in this way:
Object: {
"data":"data1",
"value":"value1, value2"
}
If i just call using Object.value
it will return both values. Right now I want to access value1 and value2 separately and assign them to a separate variable. E.g var first = value1, var second = value2
. How can I achieve this?