I tried my best to think of a name of this question, I'll change it if I can get some terminology to help
Best way I can describe it is this
obj1 = {
"a":{"var":1},
"b":{"var":2},
"c":{"var":3}
}
// What's the difference between
resulta = obj1['a']['var']
// and...
resultb = obj1.a.var
So, what's the difference between using [''] and . ?
I realize you can only use . to run functions, but is that the only difference?
Is one method faster than the other? (even a little?)