Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 1-js/09-classes/01-class/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class MyClass {

Then use `new MyClass()` to create a new object with all the listed methods.

Class names should be nouns in UpperCamelCase, and Methods should be verbs in lowerCamelCase by convention.

The `constructor()` method is called automatically by `new`, so we can initialize the object there.

For example:
Expand Down