From 4b11a5b23867d95df3928cf6283f9f216d701457 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 7 Aug 2024 11:59:06 +0900 Subject: [PATCH] Destroyed GeneratorFunction (markdown) --- GeneratorFunction.md | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 GeneratorFunction.md diff --git a/GeneratorFunction.md b/GeneratorFunction.md deleted file mode 100644 index 342080e..0000000 --- a/GeneratorFunction.md +++ /dev/null @@ -1,12 +0,0 @@ -## GeneratorFunction - -```js -var a = new GeneratorFunction(function(_yield) { - _yield("a"); - _yield("b"); - _yield("c"); -}); -console.log(a.next().value); -console.log(a.next().value); -console.log(a.next().value); -``` \ No newline at end of file