Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

OFF should be OOF (FOO backwards) in comment #54

Merged
merged 1 commit into from

2 participants

@davidosomething

OFF should be OOF (FOO backwards) in comment

@shichuan
Owner

thanks for the pull request, merging... :)

@shichuan shichuan merged commit a5c034b into shichuan:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 28, 2012
  1. @davidosomething
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  general-patterns/conditionals.html
View
2  general-patterns/conditionals.html
@@ -130,7 +130,7 @@
console.log(result); //3
type == 'foo' && type2 == 'bar' && result == 3 && (result=0); //parentheses avoid "invalid assignment left-hand side" error
console.log(result); //0
- type == 'OOF' || result++; //equivalent: type != 'OFF' && result++;
+ type == 'OOF' || result++; //equivalent: type != 'OOF' && result++;
console.log(result); //1
Something went wrong with that request. Please try again.