Skip to content

Commit

Permalink
Adjusted commenting for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJeng committed Sep 22, 2014
1 parent 47519bd commit 893581d
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 893581d

Please sign in to comment.