File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Some common usages around the web is
2727[ Games] ( http://gorillas.heroku.com )
2828![ ] ( assets/images/game.png )
2929
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/ ) .
3131
3232
3333
@@ -108,7 +108,7 @@ console.log("We are in " + year + ", but " + nextYear + " is just around the cor
108108
109109That's great! We can combine strings together and add up numbers.
110110
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 ` ; ` .
112112
113113- ** booleans** - true/false
114114
@@ -128,6 +128,7 @@ var iDontHaveAValue;
128128
129129console .log (" What kind of variable am I? " + iDontHaveAValue);
130130```
131+ > The general convention in JavaScript is to use ` lowerCamelCase ` while naming variables.
131132
132133### Operations
133134The are are a number of operations you can apply, just like when using math.
@@ -247,11 +248,11 @@ var people = coaches + students;
247248
248249if (people > pizzas) {
249250 console .log (" We have more people than pizzas!" );
250- };
251+ }
251252
252253if (students > pizzas) {
253254 console .log (" But we have more students than pizzas! Let's not give the coaches any food." );
254- };
255+ }
255256```
256257
257258#### Less than ` < `
You can’t perform that action at this time.
0 commit comments