Skip to content

Commit

Permalink
Fix invalid if/else JavaScript example
Browse files Browse the repository at this point in the history
  • Loading branch information
juliepagano committed Mar 8, 2013
1 parent 969b919 commit f081742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class1.html
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ <h3>Logic</h3>
if (bananas < 2 || oranges < 2){
console.log('Buy fruit!');
}
if !(bananas >== 0){
if (!(bananas >= 0)){
console.log('How do you have negative bananas?');
}
</code></pre>
Expand Down

0 comments on commit f081742

Please sign in to comment.