File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Some common usages around the web is
27
27
[ Games] ( http://gorillas.heroku.com )
28
28
![ ] ( assets/images/game.png )
29
29
30
- It is also becoming common outside of the browser. You can write your own programmes and servers in JavaScript using [ Node.js] ( http://nodejs.org/ ) .
30
+ It is also becoming common outside of the browser. You can write your own programs and servers in JavaScript using [ Node.js] ( http://nodejs.org/ ) .
31
31
32
32
33
33
@@ -108,7 +108,7 @@ console.log("We are in " + year + ", but " + nextYear + " is just around the cor
108
108
109
109
That's great! We can combine strings together and add up numbers.
110
110
111
- > Sometimes you may forget to use ` ; ` after a statement. Usually this is ok, but sometimes strange things can happen. Try not to forget to use ` ; ` ,
111
+ > Sometimes you may forget to use ` ; ` after a statement. Usually this is ok, but sometimes strange things can happen. Try not to forget to use ` ; ` .
112
112
113
113
- ** booleans** - true/false
114
114
@@ -128,6 +128,7 @@ var iDontHaveAValue;
128
128
129
129
console .log (" What kind of variable am I? " + iDontHaveAValue);
130
130
```
131
+ > The general convention in JavaScript is to use ` lowerCamelCase ` while naming variables.
131
132
132
133
### Operations
133
134
The are are a number of operations you can apply, just like when using math.
@@ -247,11 +248,11 @@ var people = coaches + students;
247
248
248
249
if (people > pizzas) {
249
250
console .log (" We have more people than pizzas!" );
250
- };
251
+ }
251
252
252
253
if (students > pizzas) {
253
254
console .log (" But we have more students than pizzas! Let's not give the coaches any food." );
254
- };
255
+ }
255
256
```
256
257
257
258
#### Less than ` < `
You can’t perform that action at this time.
0 commit comments