Figuring out JavaScript Objects
Spent a little bit of time trying to write some "decent" JavaScript. Took me a while to come up with what I thought would work well.
Looking for any comments and advice.
JavaScript is a bit tricky for someone coming from a Java / Objective-C background.
Hope it helps someone in the future.
<a href="http://aaboyd.github.io/2013/10/oop-javascript-first-try/">Object-Oriented Javascript … A First Attempt</a>
Written by Alex Boyd
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Did you know?
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#