Is their any difference on accessing object properties with the dot operator then accessing them with the bracket notation? example.
var objects={
"name":"john",
"age":23,
"friends":["mike","harry"]
};
document.write(objects["friends"]);
prints out exactly what this would
var objects={
"name":"john",
"age":23,
"friends":["mike","harry"]
};
document.write(objects.friends);
in the learning stage and curious if their is more to this? Thanks in advance.