Created
March 24, 2015 20:13
-
-
Save briancavalier/0939eb735c717f629c15 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let i=0; | |
| let xs = Observable.fromEvent('click', aDomNode); | |
| // or | |
| // let xs = Observable.fromArray([1,2,3,4]); | |
| for(let x on xs) { | |
| ++i; | |
| } | |
| // What does this log? | |
| console.log(i); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment