From ba6ec7e01f03331bf4a16d38552daeb459703f96 Mon Sep 17 00:00:00 2001 From: Laxman <88457639+Laxman67@users.noreply.github.com> Date: Tue, 16 Dec 2025 23:47:35 +0530 Subject: [PATCH] Update README.md Added Option Chaining Operator --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f1207be..a9d3189f 100644 --- a/README.md +++ b/README.md @@ -6809,7 +6809,7 @@ Because of hoisting, functions can be used before they are declared. diameter() { return this.radius * 2; }, - perimeter: () => 2 * Math.PI * this.radius, + perimeter: () => 2 * Math.PI * this?.radius, }; ```