diff --git a/README.md b/README.md index 461369a..904df75 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,12 @@ var some_string: String = "" # No value is also valid, unless the type does not accept null (for example integers) var various_types: Variant # Please set the containing type for arrays, unless an array can contain multiple types -var some_array: Array[String] = ["some", "string"] -# Dictionaries must be nicely formatted +var some_array: Array[String] = [ "some", "string" ] +# Dictionaries and Arrays must be nicely formatted var dict_of_fruits: Dictionary = { "fruits": ["apple", "banana", "orange"], "good_fruits": { "apple": "Tastes good, available pretty much everywhere", "orange": "Nice." }, "bad_fruits": { "banana": "Does not taste good." } } # For duplication example, ignore -var nodes: Array[String] = ["abc", "def", "ghi", "jkl"] +var nodes: Array[String] = [ "abc", "def", "ghi", "jkl" ] var node_abc: Node var node_def: Node var node_ghi: Node