diff options
| author | Li Jin <dragon-fly@qq.com> | 2022-04-20 09:19:59 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2022-04-20 09:19:59 +0800 |
| commit | 53bd5a32e30493f4915e79bfb63b1eec846f1a7f (patch) | |
| tree | c8a3378538518e3eacd9bc6c8fda924012d644d3 /doc/docs | |
| parent | ba1081a851dd6b3c76be5ad8bb9cb7fd643fc792 (diff) | |
| download | yuescript-53bd5a32e30493f4915e79bfb63b1eec846f1a7f.tar.gz yuescript-53bd5a32e30493f4915e79bfb63b1eec846f1a7f.tar.bz2 yuescript-53bd5a32e30493f4915e79bfb63b1eec846f1a7f.zip | |
add placeholder support for list destructuring. fix part of issue #93.
Diffstat (limited to '')
| -rwxr-xr-x | doc/docs/doc/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 5c43917..adff569 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md | |||
| @@ -657,7 +657,7 @@ do | |||
| 657 | 657 | ||
| 658 | The export statement offers a concise way to define modules. | 658 | The export statement offers a concise way to define modules. |
| 659 | 659 | ||
| 660 | * **Named Export** | 660 | * **Named Export** |
| 661 | Named export will define a local variable as well as adding a field in the exported table. | 661 | Named export will define a local variable as well as adding a field in the exported table. |
| 662 | 662 | ||
| 663 | ```moonscript | 663 | ```moonscript |
| @@ -693,7 +693,7 @@ export class Something | |||
| 693 | </pre> | 693 | </pre> |
| 694 | </YueDisplay> | 694 | </YueDisplay> |
| 695 | 695 | ||
| 696 | * **Unnamed Export** | 696 | * **Unnamed Export** |
| 697 | Unnamed export will add the target item into the array part of the exported table. | 697 | Unnamed export will add the target item into the array part of the exported table. |
| 698 | 698 | ||
| 699 | ```moonscript | 699 | ```moonscript |
| @@ -723,7 +723,7 @@ export with tmp | |||
| 723 | </pre> | 723 | </pre> |
| 724 | </YueDisplay> | 724 | </YueDisplay> |
| 725 | 725 | ||
| 726 | * **Default Export** | 726 | * **Default Export** |
| 727 | Using the **default** keyword in export statement to replace the exported table with any thing. | 727 | Using the **default** keyword in export statement to replace the exported table with any thing. |
| 728 | 728 | ||
| 729 | ```moonscript | 729 | ```moonscript |
