Skip to content

Commit 439c9e9

Browse files
author
isceruth
committed
Minor improvements #2
1 parent e8ceeaf commit 439c9e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JavaScript/7-delete.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const country = {
1414
delete country.ruler;
1515
console.dir({ country });
1616

17-
console.log(delete country.born);
18-
console.log(delete country.population);
17+
delete country.born;
18+
delete country.population;
1919
console.dir({ country });
2020

2121
const currencies = ['BTC', 'EUR', 'UAH', 'USD'];

0 commit comments

Comments
 (0)