Skip to content

Commit 9460b09

Browse files
answered the question about console.log and console.assert in object.md file
1 parent 9bd9215 commit 9460b09

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sprint-1/4-stretch-explore/objects.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,4 @@ Answer the following questions:
9696
What does `console` store?
9797
/* Console is a globally available Object provided by the browser environment to store debugging tools functions in one convienient place*/
9898
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
99+
/*`console.log` or `console.assert` mean? i.e console.log go inside the console Object and print out whatever you have on the console to see, log() is a method which does the action on the object , and for console.assert means check whether something is true and if it's not true show the error message on the console. the '.' is called the property accessor or dot Notation and what it does is to dig inside an object and grab a specific piece of data or functionality stored within it.*/

0 commit comments

Comments
 (0)