Skip to content
This repository

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

Merged
merged 1 commit into from about 2 years ago

2 participants

David O'Trakoun Shi Chuan
David O'Trakoun

OFF should be OOF (FOO backwards) in comment

Shi Chuan
Owner

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

Shi Chuan shichuan merged commit a5c034b into from
Shi Chuan shichuan closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 28, 2012
David O'Trakoun davidosomething OFF should be OOF (FOO backwards) 2c8fdfb
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  general-patterns/conditionals.html
2  general-patterns/conditionals.html
@@ -130,7 +130,7 @@
130 130 console.log(result); //3
131 131 type == 'foo' && type2 == 'bar' && result == 3 && (result=0); //parentheses avoid "invalid assignment left-hand side" error
132 132 console.log(result); //0
133   - type == 'OOF' || result++; //equivalent: type != 'OFF' && result++;
  133 + type == 'OOF' || result++; //equivalent: type != 'OOF' && result++;
134 134 console.log(result); //1
135 135
136 136

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.