From ea83619eae1ef4564e5ce8d7580f5045dd85f2e2 Mon Sep 17 00:00:00 2001 From: Akshay Kolli Date: Sun, 19 Jun 2022 18:21:48 +0530 Subject: [PATCH] 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. --- 15_Day_Classes/15_day_classes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/15_Day_Classes/15_day_classes.md b/15_Day_Classes/15_day_classes.md index be9e8db..82a629c 100644 --- a/15_Day_Classes/15_day_classes.md +++ b/15_Day_Classes/15_day_classes.md @@ -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