Update 15_day_classes.md

Changed the mention of camelCase to PascalCase in line 51, as classes use Pascal case in javascript, not camelCase.
camelCase has first letter in lowercase, as PascalCase has first letter in upper case.
pull/372/head
Akshay Kolli 3 years ago committed by GitHub
parent a63597bc65
commit ea83619eae
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 ### 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 ```sh
// syntax // syntax

Loading…
Cancel
Save