Skip to content
Open

Fix #61

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions practice.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
Failed tests will be indicated by a red X.

You can refresh the page at any time to re-run all the tests.
Note: user var for declaring variables
*/

////////// PROBLEM 1 //////////

/*
Create an object called me.
Give it a key of name with the value being your name, and another key of age with the value being your age.
Then alert your name using dot notation.
Then log your name using dot notation.
*/

//Code here
Expand Down Expand Up @@ -55,13 +56,13 @@
//Code here

/*
After you do the above, alert your entire backPack object.
After you do the above, log your entire backPack object.
*/

//Code here

/*
You probably noticed that it just alerted [object Object].
If you use alert, it will show[object Object].
Alerting to see the data in your Object doesn't work so well.
Instead, console.log your whole backPack object and then check out the console.
*/
Expand Down