Skip to content

Commit eae2575

Browse files
Update README.md
Capital letters in const, remove default data in class Car
1 parent 5168312 commit eae2575

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1148,9 +1148,9 @@ car.save();
11481148
```javascript
11491149
class Car {
11501150
constructor() {
1151-
this.make = 'Honda';
1152-
this.model = 'Accord';
1153-
this.color = 'white';
1151+
this.make = '';
1152+
this.model = '';
1153+
this.color = '';
11541154
}
11551155

11561156
setMake(make) {
@@ -1945,8 +1945,8 @@ class Alpaca {}
19451945
const DAYS_IN_WEEK = 7;
19461946
const DAYS_IN_MONTH = 30;
19471947

1948-
const songs = ['Back In Black', 'Stairway to Heaven', 'Hey Jude'];
1949-
const artists = ['ACDC', 'Led Zeppelin', 'The Beatles'];
1948+
const SONGS = ['Back In Black', 'Stairway to Heaven', 'Hey Jude'];
1949+
const ARTISTS = ['ACDC', 'Led Zeppelin', 'The Beatles'];
19501950

19511951
function eraseDatabase() {}
19521952
function restoreDatabase() {}

0 commit comments

Comments
 (0)