Skip to content

Commit

Permalink
Merge pull request GitbookIO#65 from ogwiz2/master
Browse files Browse the repository at this point in the history
Adjusted commenting for better consistency
  • Loading branch information
SamyPesse committed Sep 22, 2014
2 parents 47519bd + 893581d commit cd0b6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The following code demonstates how to **get** a property's value.
var variable = language.name;
// variable now contains "JavaScript" string.
variable = language['name'];
/* The lines above do the same thing. The difference is that the second one lets you use litteraly any string as a property name, but it's less readable. */
// The lines above do the same thing. The difference is that the second one lets you use litteraly any string as a property name, but it's less readable.
variable = language.newProperty;
// variable is now undefined, because we have not assigned this property yet.
```
Expand Down

0 comments on commit cd0b6fd

Please sign in to comment.