equal
deleted
inserted
replaced
129 |
129 |
130 * When creating a table, prefer populating its fields all at once, if possible: |
130 * When creating a table, prefer populating its fields all at once, if possible: |
131 |
131 |
132 ```lua |
132 ```lua |
133 local player = { name = "Jack", class = "Rogue" } |
133 local player = { name = "Jack", class = "Rogue" } |
134 } |
|
135 ``` |
134 ``` |
136 |
135 |
137 * Items should be separated by commas. If there are many items, put each |
136 * Items should be separated by commas. If there are many items, put each |
138 key/value on a separate line and use a semi-colon after each item (including |
137 key/value on a separate line and use a semi-colon after each item (including |
139 the last one): |
138 the last one): |