Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit ae58502

Browse files
Merge pull request #698 from anjianshi/patch-1
fix typo
2 parents 5e6bf3f + 9558be9 commit ae58502

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/gettingstarted/creating.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,10 @@ var subscription = source.subscribe(
212212
We can also do a `Map` as well by applying the same technique.
213213

214214
```js
215-
var set = new Map([['key1', 1], ['key2', 2]]);
215+
var map = new Map([['key1', 1], ['key2', 2]]);
216216

217-
// Converts a Set to an observable sequence
218-
var source = Rx.Observable.from(set);
217+
// Converts a Map to an observable sequence
218+
var source = Rx.Observable.from(map);
219219

220220
// Prints out each item
221221
var subscription = source.subscribe(

0 commit comments

Comments
 (0)