From 8e35b4333c70d0f92aa5eaa3aaa4d8a7491be071 Mon Sep 17 00:00:00 2001 From: kojiadrianojr Date: Fri, 18 Oct 2019 11:49:14 +0800 Subject: [PATCH 1/3] issue#59: Change alert to log --- practice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/practice.js b/practice.js index 82a0b55..a46ffb6 100644 --- a/practice.js +++ b/practice.js @@ -11,7 +11,7 @@ /* 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 From 9b9ae5131f4ba1533f81a64bbd104da434472406 Mon Sep 17 00:00:00 2001 From: kojiadrianojr Date: Fri, 18 Oct 2019 11:50:38 +0800 Subject: [PATCH 2/3] issue#60:Add instruction to use var for declaring variables --- practice.js | 1 + 1 file changed, 1 insertion(+) diff --git a/practice.js b/practice.js index a46ffb6..296e7b6 100644 --- a/practice.js +++ b/practice.js @@ -4,6 +4,7 @@ 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 ////////// From 1734d366eca9d3127fd2232607364cbba7d8eb56 Mon Sep 17 00:00:00 2001 From: kojiadrianojr Date: Fri, 18 Oct 2019 13:06:58 +0800 Subject: [PATCH 3/3] issue#58: use console.log instead of alert --- practice.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/practice.js b/practice.js index 296e7b6..41dc38e 100644 --- a/practice.js +++ b/practice.js @@ -56,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. */