You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: objects/properties.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ The following code demonstates how to **get** a property's value.
22
22
var variable =language.name;
23
23
// variable now contains "JavaScript" string.
24
24
variable = language['name'];
25
-
/* 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. */
25
+
// 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.
26
26
variable =language.newProperty;
27
27
// variable is now undefined, because we have not assigned this property yet.
0 commit comments