Christian Harms 0 Newbie Poster

I discussed yesterday how to access to members of JavaScript objects?

var obj = {a:1};
value = obj.a;
value = obj;
value = obj.geta()

Are there differences in speed while accessing with dot notation, key notation or more java-like getter function?

But the more complete solution can found on united-coders.com.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.