Updated Introduction to Editor Scripting.md (markdown)
commited
commit
88250152fab778fa0a28ba95bb41c3dede0da252
... | ... | @@ -27,7 +27,7 @@ list[2] = [0.1, 1]; |
27 | 27 | //outputs ["mango",, [0.1, 1]] |
28 | 28 | ``` |
29 | 29 | |
30 | • In the other hand object is an "list of properties" to represent an "object", it works similarly with array but the properties are defined by a name as if it's a variable, you can declare an object like this: |
|
30 | • In the other hand object is an "list of properties" to represent an "object", it works similarly to array but the properties are defined by a name as if it's a variable, you can declare an object like this: |
|
31 | 31 | ``` |
32 | 32 | var obj = { |
33 | 33 | name: "grass", |