Thread
:
A little confused about Objects
View Single Post
12-04-2012, 09:18 PM
PM User
|
#
6
felgall
Master Coder
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,448
Thanks: 0
Thanked 496 Times in 488 Posts
There are lots of different ways to create objects in JavaScript.
Another useful one that hasn't been mentioned yet in this thread is to use the static method Object.create()
__________________
Stephen
Learn Modern JavaScript -
http://javascriptexample.net/
Helping others to solve their computer problem at
http://www.felgall.com/
felgall
View Public Profile
Visit felgall's homepage!
Find More Posts by felgall