Skip to content

Commit a1fc0d3

Browse files
committed
Fixed minor grammar mistakes
1 parent 7fa1c3e commit a1fc0d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pages/Classes.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Note: Accessors require you to set the compiler to output ECMAScript 5 or higher
270270

271271
# Static Properties
272272

273-
Up to this point, we've only talked about the *instance* members of the class, those that show up on the object when its instantiated.
273+
Up to this point, we've only talked about the *instance* members of the class, those that show up on the object when it's instantiated.
274274
We can also create *static* members of a class, those that are visible on the class itself rather than on the instances.
275275
In this example, we use `static` on the origin, as it's a general value for all grids.
276276
Each instance accesses this value through prepending the name of the class.
@@ -437,7 +437,7 @@ Next, we then use the class directly.
437437
Here we create a new variable called `greeterMaker`.
438438
This variable will hold the class itself, or said another way its constructor function.
439439
Here we use `typeof Greeter`, that is "give me the type of the `Greeter` class itself" rather than the instance type.
440-
Or, more precisely, "give me the type of the symbol called `Greeter`", which is the type of the constructor function.
440+
Or, more precisely, "give me the type of the symbol called `Greeter`," which is the type of the constructor function.
441441
This type will contain all of the static members of Greeter along with the constructor that creates instances of the `Greeter` class.
442442
We show this by using `new` on `greeterMaker`, creating new instances of `Greeter` and invoking them as before.
443443

0 commit comments

Comments
 (0)