From 8d8a4d172e2770ce1d1d44cc309e48152abcb0e5 Mon Sep 17 00:00:00 2001 From: a2937 Date: Wed, 25 Jan 2023 10:04:38 -0500 Subject: [PATCH] chore(curriculum): Remove an incorrect sentence (#49134) Chore: Remove an incorrect sentence --- .../es6/use-class-syntax-to-define-a-constructor-function.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.md index ecb199d45f4..6ac1354551d 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.md @@ -10,8 +10,6 @@ dashedName: use-class-syntax-to-define-a-constructor-function ES6 provides a new syntax to create objects, using the class keyword. -It should be noted that the `class` syntax is just syntax, and not a full-fledged class-based implementation of an object-oriented paradigm, unlike in languages such as Java, Python, Ruby, etc. - In ES5, an object can be created by defining a `constructor` function and using the `new` keyword to instantiate the object. In ES6, a `class` declaration has a `constructor` method that is invoked with the `new` keyword. If the `constructor` method is not explicitly defined, then it is implicitly defined with no arguments.