From 81035fd0d439718ed0e4bb8ff9e3c532e31ebb58 Mon Sep 17 00:00:00 2001 From: Ashish Vaghela Date: Mon, 24 Jun 2024 19:26:35 +0530 Subject: [PATCH] revert old changes --- files/en-us/learn/javascript/objects/basics/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/files/en-us/learn/javascript/objects/basics/index.md b/files/en-us/learn/javascript/objects/basics/index.md index 94cd26d320c16d1..33e70593f83e1f8 100644 --- a/files/en-us/learn/javascript/objects/basics/index.md +++ b/files/en-us/learn/javascript/objects/basics/index.md @@ -302,7 +302,6 @@ const person2 = { }; ``` - In this case, `person1.introduceSelf()` outputs "Hi! I'm Chris."; `person2.introduceSelf()` on the other hand outputs "Hi! I'm Deepti.", even though the method's code is exactly the same in each case. This isn't hugely useful when you are writing out object literals by hand, but it will be essential when we start using **constructors** to create more than one object from a single object definition, and that's the subject of the next section. ## Introducing constructors