Update 15_day_classes.md

pull/512/head
Mikhaild13 3 years ago committed by GitHub
parent e2587d1e6d
commit 733d959b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,7 @@ In the object section, we saw how to create an object literal. Object literal is
### Defining a classes
To define a class in JavaScript we need the keyword _class_ , the name of a class in **CamelCase** and block code(two curly brackets). Let us create a class name Person.
To define a class in JavaScript we need the keyword _class_ , the name of a class in **PascalCase** and block code(two curly brackets). Let us create a class name Person.
```sh
// syntax

Loading…
Cancel
Save