mirror of
https://github.com/koajs/examples.git
synced 2026-01-25 14:48:15 +00:00
number to string, fix #47
This commit is contained in:
parent
00ac7cc927
commit
f9f9c87a7e
@ -27,5 +27,5 @@ function Subscription(options) {
|
||||
}
|
||||
|
||||
Subscription.prototype._read = function () {
|
||||
while (this.push(this.value++)) {}
|
||||
while (this.push(String(this.value++))) {}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user