Skip to content

fixed typo in js/level1 and js/level2 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js/level1.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@
Example:
var number = 7;
if (number > 7) {
console.log('Our number is bigger then 7');
console.log('Our number is bigger than 7');
} else {
console.log('Our number is smaller then 7');
console.log('Our number is smaller than 7');
}
*/

Expand Down
4 changes: 2 additions & 2 deletions js/level2.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

Example:

var animals = ['cat', 'dog', 'horse];
var animals = ['cat', 'dog', 'horse'];
var randomThings = [2, 'book', 'today is Saturday', 10];
var numbers = [1, 2, 8, 19];
*/
Expand Down Expand Up @@ -238,7 +238,7 @@

Example:

var animals = ['cats', 'dogs', 'horses];
var animals = ['cats', 'dogs', 'horses'];
for(var i = 0; i < animals.length; i++){
console.log('I love ' + animals[i]);
}
Expand Down