Skip to content

Commit 8925505

Browse files
authored
Merge pull request #882 from LordLexLutheran/patch-1
Small Grammatical Error - article.md "Class"
2 parents e9be10d + a9fb779 commit 8925505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/02-class/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ It's easy to see that these two examples are alike. Be sure to note that methods
4747

4848
So, what exactly is a `class`? We may think that it defines a new language-level entity, but that would be wrong.
4949

50-
In Javascript, a class is a kind of a function.
50+
In Javascript, a class is a kind of function.
5151

5252
The definition `class User {...}` creates a function under the same name and puts the methods into `User.prototype`. So the structure is similar.
5353

0 commit comments

Comments
 (0)