Search code examples
javascriptnotation

Can someone tell me where to get a good look into Dot Notation in Javascript


Been searching for about an hour, everything I see on dot notation is pieced out with little explanation, or it's a post of people arguing about that and bracket notation... I just want a site or book, I will buy a book... ...that has a lot of info on Dot Notation. Thanks for taking a look at my post!!


Solution

  • Have you seen this link?

    There is also the ECMAScript documentation that indicates:

    The dot notation is explained by the following syntactic conversion:

    MemberExpression.IdentifierName
    

    is identical in its behaviour to

    MemberExpression[<identifier-name-string>]
    

    Also see the Objects section of this javascript article written by Douglas Crockford.