D
Debajit Adhikary
Let's say I have the following code:
var o = {"field1" : "value1", 10 : "value10"};
Now, if I say o.10
that does not work with any browser. Why exactly is this an error?
(in particular, could anyone please refer me to any authoritative
source that defines how little things like these should work? I
understand that I could have used o[10] and that would work)
var o = {"field1" : "value1", 10 : "value10"};
Now, if I say o.10
that does not work with any browser. Why exactly is this an error?
(in particular, could anyone please refer me to any authoritative
source that defines how little things like these should work? I
understand that I could have used o[10] and that would work)