feat: 新增对象字面量和属性访问表达式
This commit is contained in:
4
examples/object.ast
Normal file
4
examples/object.ast
Normal file
@@ -0,0 +1,4 @@
|
||||
let obj = { name: "aster", version: 1 }
|
||||
print(obj.name)
|
||||
obj.version = obj.version + 1
|
||||
print(obj.version)
|
||||
Reference in New Issue
Block a user