If you have an object, for example:
const myObject = {
"MyValue":5
}
or
const myObject = {
MyValue:5
}
would there be a difference between using myObject["MyValue"] and myObject.MyValue?
Also, would the "" around the keys in the object make a difference as well? Are they both just preferences?