Object Literals in JavaScript
Loading
Previous Topic Previous slide Next slide Next Topic
New course

This Course has been revised!

For a more enjoyable learning experience, we recommend that you study the mobile-friendly republished version of this course.

Take me to revised course.

- or -

Continue studying this course

Object Literals in JavaScript

  • Study Reminders

    Set your study reminders

    We'll email you at these times to remind you to study

    You can set up to 7 reminders per week

    You're all set

    We'll email you at these times to remind you to study

    Monday

    -

    7am

    +

    Tuesday

    -

    7am

    +

    Wednesday

    -

    7am

    +

    Thursday

    -

    7am

    +

    Friday

    -

    7am

    +

    Saturday

    -

    7am

    +

    Sunday

    -

    7am

    +
  • Study Notes
  • Discuss This Topic
    Andres R.
    US
    Andres R.

    Hey, when the I_Am_Empty object was created you could have check the Global environment - the Global Object and you would have seen it in there. Also, you should not be using the document.write use the console.log instead.

    Andres R.
    US
    Andres R.

    Hey, you should consider using Bracket.IO as your editor. Bracket.IO comes with a web server making your process faster.

    Pv J.
    US
    Pv J.

    video @7.28: In the method printAllMembers you write the statement: for (i in targetObject) { document.write("" + targetObject[i]); } Actually it is unnecessary. If you're using forEach syntax you can simply write it as: for (i in targetObject) { document.write("" + i); } No need for using the iterator as an index.

Notification

You have received a new notification

Click here to view them all