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
Hrmm, perhaps I'm reading too little into the line. In my mind, it implies that = assigns values without granting that the concept is new.
The sentence for reference:
“The = operator can be used at any time to give it a new value, as in the third line of the example.”
I was thinking something such as changing the intro to “introduces three new concepts: the semicolons, the use of var, and the = operator” to hint that while the = looks familiar, it acts differently than you may expect. The only change needed later would be: “to give variables new values”
On page 1, Line 155 this statement is made:
“The above program introduces two new concepts: the semicolons, and the use of
var
.”https://github.com/OpenTechSchool/js-beginners-day1/blob/master/page1.html#L155
However, the program also introduces assignment using an equals sign. The concept is assumed to be understood in the paragraph that begins on Line 168:
https://github.com/OpenTechSchool/js-beginners-day1/blob/master/page1.html#L168
Can we add a step (or a remark in this step) about
=
being used to set a value?The text was updated successfully, but these errors were encountered: