Skip to content

Commit 4db51f7

Browse files
author
David Banks
committed
more semicolons
1 parent 41353a0 commit 4db51f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/lesson2/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ var object = {
257257
propertyName: propertyValue,
258258
propertyName: propertyValue,
259259
...
260-
}
260+
};
261261
```
262262

263263
Let's apply that to store some information about London.
@@ -274,7 +274,7 @@ var london = {
274274
averageRent: 1106,
275275
dailyTubePassengerJourney: 3500000,
276276
olympics: [ 1908, 1948, 2012]
277-
}
277+
};
278278
```
279279

280280
To access the properties, we can either use the **bracket notation** like in Arrays, or the **dot notation**

0 commit comments

Comments
 (0)