Day 20 (Pt 2)

I started the Object Oriented JavaScript course today and completed section 1, Introduction to Methods. We covered:

  • Objects
    • Methods – provides functionality of objects and may or may not return values.
    • Properties – stored data or state of an object
    • Keys – the name of a property
    • Values – the contents of a property
    • Native & Host objects

In this section, we also built the beginnings of a calculator which has given me an idea for my weekend project: update the code of my JS Calculator using a calculator object. Not only does it actually make a lot of sense, but I also think that my code will be cleaner and easier to read when re-organized this way.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s