Skip to content

Instantly share code, notes, and snippets.

@samueleresca
Created June 11, 2017 14:26
Show Gist options
  • Save samueleresca/20629744a4573b113766da110c84f80a to your computer and use it in GitHub Desktop.
Save samueleresca/20629744a4573b113766da110c84f80a to your computer and use it in GitHub Desktop.
Observable.of(1,2,3)
.map(value=>value*10)
.subscribe(value=>
console.log(value)
);
//10
//20
//30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment