@@ -122,7 +122,7 @@ JavaScript), it works well.
122122== Properties ==
123123
124124(((Math object)))(((Math.max function)))(((length property,for
125- strings )))(((object,property)))(((period character)))We've seen a few
125+ string )))(((object,property)))(((period character)))We've seen a few
126126suspicious-looking expressions like `myString.length` (to get the
127127length of a string) and `Math.max` (the maximum function) in past
128128examples. These are expressions that access a _((property))_ of some
@@ -166,7 +166,7 @@ know the precise name of the property in advance, because neither “2”
166166nor “John Doe” is a valid variable name and so cannot be accessed
167167through dot notation.
168168
169- (((array)))(((length property,for arrays )))(((array,length
169+ (((array)))(((length property,for array )))(((array,length
170170of)))The elements in an array are stored in properties. Because the
171171names of these properties are numbers and we often need to get their
172172name from a variable, we have to use the bracket syntax to access
@@ -922,7 +922,7 @@ console.log(" okay \n ".trim());
922922// → okay
923923----
924924
925- (((length property,for strings )))(((charAt
925+ (((length property,for string )))(((charAt
926926method)))(((string,indexing)))We have already seen the string type's
927927`length` property. Accessing the individual characters in a string can
928928be done with the `charAt` method but also by simply reading numeric
0 commit comments