-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
the test code in http://reactivex.io/rxjs/manual/tutorial.html#producing-values
// typing "hello world"
var input = Rx.Observable.fromEvent(document.querySelector('input'), 'input');
// Only pass unique values through
input.pluck('target', 'value').distinct()
.subscribe(value => console.log(value)); // "helo wrd"When I type "hello world", it prints "hello world", is there anything wrong?
RxJS version:
5.0.3
Code to reproduce:
copy the demo codes to make a online demo
http://reactivex.io/rxjs/manual/tutorial.html#producing-values
http://jsbin.com/kiwumisoja/edit?html,js,console,output
Expected behavior:
http://reactivex.io/rxjs/manual/tutorial.html#producing-values
print "helo wrd" in console tab
Actual behavior:
print "hello world"
Additional information:
Metadata
Metadata
Assignees
Labels
No labels