From 259dcf1af97753c39562d721d161e285d61643a4 Mon Sep 17 00:00:00 2001 From: 0264408 Date: Tue, 16 Jun 2026 08:58:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E8=B5=8B=E5=80=BC?= =?UTF-8?q?=E8=BF=90=E7=AE=97=E7=AC=A6=E7=A4=BA=E4=BE=8B=EF=BC=8C=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=95=B0=E7=BB=84=E5=92=8C=E5=AF=B9=E8=B1=A1=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E7=9A=84=E6=89=93=E5=8D=B0=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/assign_op.ast | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/assign_op.ast b/examples/assign_op.ast index 5e7d2fd..e289bee 100644 --- a/examples/assign_op.ast +++ b/examples/assign_op.ast @@ -12,4 +12,12 @@ print("c=", c) let d = 10 c /= 5 -print("d=", d) \ No newline at end of file +print("d=", d) + +let arr = [1, 2, 3] +arr[0] += 2 +print(arr) + +let obj = { name: "elmma", age: 26 } +obj.age -= 2 +print(obj) \ No newline at end of file