You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
- obj := {
- foo: "hello world"
- }
- print obj.foo
-
- # Assignments
- obj.foo = 100
- print obj.foo
-
- # Nested namespaces should work
- obj.bar = {baz: "how's your day going?"}
- print obj.bar.baz
-
- # Empty namespace literal (should parse to namespace, not function)
- print {}
|