From 6cc6850d5365cf2d4a8493658ba7a3dae59cbe93 Mon Sep 17 00:00:00 2001 From: pankaj <112304418+Pnkajkanojiya@users.noreply.github.com> Date: Sat, 18 Jan 2025 12:05:13 +0530 Subject: [PATCH] Update 03_objects.js --- 02_basics/03_objects.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/02_basics/03_objects.js b/02_basics/03_objects.js index 900ef861..40cafaae 100644 --- a/02_basics/03_objects.js +++ b/02_basics/03_objects.js @@ -9,7 +9,7 @@ const mySym = Symbol("key1") const JsUser = { name: "Hitesh", "full name": "Hitesh Choudhary", - [mySym]: "mykey1", + [mySym]: "mykey1", // symbol define syntax age: 18, location: "Jaipur", email: "hitesh@google.com", @@ -35,4 +35,4 @@ JsUser.greetingTwo = function(){ } console.log(JsUser.greeting()); -console.log(JsUser.greetingTwo()); \ No newline at end of file +console.log(JsUser.greetingTwo());