diff --git a/generator.js b/generator.js index 2788187..df5ad35 100644 --- a/generator.js +++ b/generator.js @@ -35,7 +35,7 @@ function run(gen) { _next() } */ -// run(mtGenerator) +run(mtGenerator) function run(gen) { return new Promise((resolve, reject) => { @@ -70,4 +70,4 @@ function* myGenerator() { } const result = run(myGenerator) //result是一个Promise -//输出 1 2 error \ No newline at end of file +//输出 1 2 error diff --git "a/\345\244\232\346\226\207\344\273\266\344\270\212\344\274\240\346\265\213\350\257\225/index.html" "b/\345\244\232\346\226\207\344\273\266\344\270\212\344\274\240\346\265\213\350\257\225/index.html" new file mode 100644 index 0000000..e8c9667 --- /dev/null +++ "b/\345\244\232\346\226\207\344\273\266\344\270\212\344\274\240\346\265\213\350\257\225/index.html" @@ -0,0 +1,22 @@ + + + + + + Document + + + + + + + \ No newline at end of file