diff options
Diffstat (limited to 'doc/docs')
-rwxr-xr-x | doc/docs/doc/README.md | 2 | ||||
-rwxr-xr-x | doc/docs/zh/doc/README.md | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 1142fc3..502f7b6 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md | |||
@@ -1517,10 +1517,12 @@ You can also declare a global variable to be `const`. | |||
1517 | 1517 | ||
1518 | ```moonscript | 1518 | ```moonscript |
1519 | global const Constant = 123 | 1519 | global const Constant = 123 |
1520 | -- Constant = 1 | ||
1520 | ``` | 1521 | ``` |
1521 | <YueDisplay> | 1522 | <YueDisplay> |
1522 | <pre> | 1523 | <pre> |
1523 | global const Constant = 123 | 1524 | global const Constant = 123 |
1525 | -- Constant = 1 | ||
1524 | </pre> | 1526 | </pre> |
1525 | </YueDisplay> | 1527 | </YueDisplay> |
1526 | 1528 | ||
diff --git a/doc/docs/zh/doc/README.md b/doc/docs/zh/doc/README.md index a4e76bb..e5efe3b 100755 --- a/doc/docs/zh/doc/README.md +++ b/doc/docs/zh/doc/README.md | |||
@@ -1516,10 +1516,12 @@ const {:a, :b, c, d} = tb | |||
1516 | 1516 | ||
1517 | ```moonscript | 1517 | ```moonscript |
1518 | global const Constant = 123 | 1518 | global const Constant = 123 |
1519 | -- Constant = 1 | ||
1519 | ``` | 1520 | ``` |
1520 | <YueDisplay> | 1521 | <YueDisplay> |
1521 | <pre> | 1522 | <pre> |
1522 | global const Constant = 123 | 1523 | global const Constant = 123 |
1524 | -- Constant = 1 | ||
1523 | </pre> | 1525 | </pre> |
1524 | </YueDisplay> | 1526 | </YueDisplay> |
1525 | 1527 | ||