JavaScript – Object Creation

GitHub Hub Code

In response to my last post, I did a quick example on using Object.create(args) and new to create the same object (mostly the same definition).

They both seem to work as expected.  Hmmmm…I must have fat fingered something in preparing the singleton example 🙂

Stay tuned!

Screen Shot 2017-04-09 at 7.44.00 PM

Screen Shot 2017-04-09 at 7.44.10 PM

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s