Skip to content

Commit c9494b4

Browse files
committed
Clarified explanation of the dot operator in console method syntax
1 parent 0ee4d03 commit c9494b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ What does `console` store?
1919
Console is an object that lets you print messages, errors, warnings etc
2020

2121
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
22-
console.log allows you to print messages while assert checks a condition.
22+
console.log allows you to print messages while assert checks a condition. The dot is called the dot operator and it is used for property access. It is used to call the method inside the function.

0 commit comments

Comments
 (0)