You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8085ffc
Browse filesBrowse the repository at this point in the historyBrowse files
debug2604
authored and
debug2604
committed
Answer 1-count.js: describe line 3 and assignment operator
Copy file name to clipboardExpand all lines: Sprint-2/1-key-exercises/1-count.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,3 +4,5 @@ count = count + 1;
4
4
5
5
// Line 1 is a variable declaration, creating the count variable with an initial value of 0
6
6
// Describe what line 3 is doing, in particular focus on what = is doing
7
+
8
+
//Line 3 is reassignment of variable "count". The new assignment adds 1 to current value of count, "=" is to assign value on right-hand side to variable on left.
0 commit comments