I am not sure if my term is correct. I want to get the value that corresponds "spc1" under "alternatePrices". Please refer from the image below. While I can successfully call the value of "addedOn" and the like, I don't know how on those with arrays or object. I tried this code but nothing is appearing.
document.getElementById('demox').innerHTML = cartItem.alternatePrices[spcl]