From 72e1d9f302012f5bf10d93f3ac6edebaab94ce46 Mon Sep 17 00:00:00 2001 From: poonamwaghode Date: Fri, 14 Mar 2025 12:39:21 -0500 Subject: [PATCH 1/2] Update the-string-dot-length-property.js --- the-string-dot-length-property.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/the-string-dot-length-property.js b/the-string-dot-length-property.js index bfd2591..75d7b9d 100644 --- a/the-string-dot-length-property.js +++ b/the-string-dot-length-property.js @@ -26,5 +26,13 @@ let lengthThree; // Length of stringThree // Your code here +let stringOne = "Coding Bootcamp"; +let stringTwo = "JavaScript"; +let stringThree = ""; + +// Using .length property +let lengthOne = stringOne.length; // Length of "Coding Bootcamp" +let lengthTwo = stringTwo.length; // Length of "JavaScript" +let lengthThree = stringThree.length; // Length of the empty string From a534701f4a3a94fc8bf4523d7caf75a7ab7fb4e5 Mon Sep 17 00:00:00 2001 From: poonamwaghode Date: Fri, 14 Mar 2025 12:41:36 -0500 Subject: [PATCH 2/2] Update the-string-dot-length-property.js --- the-string-dot-length-property.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/the-string-dot-length-property.js b/the-string-dot-length-property.js index 75d7b9d..0d75a88 100644 --- a/the-string-dot-length-property.js +++ b/the-string-dot-length-property.js @@ -25,11 +25,6 @@ let lengthTwo; // Length of stringTwo let lengthThree; // Length of stringThree // Your code here - -let stringOne = "Coding Bootcamp"; -let stringTwo = "JavaScript"; -let stringThree = ""; - // Using .length property let lengthOne = stringOne.length; // Length of "Coding Bootcamp" let lengthTwo = stringTwo.length; // Length of "JavaScript"