From 55149f8864c6c3e1c1fff9268384f8302dc5488d Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 15 Sep 2025 18:20:15 +0800 Subject: Fixed issue for reversed indexing. --- doc/docs/zh/doc/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/docs/zh') diff --git a/doc/docs/zh/doc/README.md b/doc/docs/zh/doc/README.md index 5cfe4e6..29cd032 100755 --- a/doc/docs/zh/doc/README.md +++ b/doc/docs/zh/doc/README.md @@ -640,11 +640,13 @@ merge = {...a, ...b} ```moonscript last = data.items[#] second_last = data.items[#-1] +data.items[#] = 1 ```
 last = data.items[#]
 second_last = data.items[#-1]
+data.items[#] = 1
 
-- cgit v1.2.3-55-g6feb