Skip to content

Commit 40015f6

Browse files
committed
fix: corrected console object description in objects.md per feedback
1 parent ed68c8b commit 40015f6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Try also entering `typeof console`
1616
Answer the following questions:
1717

1818
What does `console` store?
19-
- The console stores a history of messages your code prints while it runs.
19+
- `console` is an object that contains methods for outputting messages to the browser console, such as `log()`, `error()`, `warn()`, `info()`, `debug()`, `assert()` and more.
20+
- It does **not** store the history of printed messages - the browser's console UI handles that history.
2021

2122
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
2223
- You are accessing a function (a method) that belongs to the console object.

0 commit comments

Comments
 (0)