Fix syntax issue

This commit is contained in:
Kamran Ahmed committed 2025-08-15 21:24:05 +01:00
1 parent bb47e557c6
commit 4931ba060f
2 files changed
+40 -15

No files matched your search

@@ -2,21 +2,14 @@ Function scope refers to the scope of variables defined within a function. You c
```javascript
function myStudyPlan() {
var studyPlanOne = "Top JavaScript interview questions for web developers";
let studyPlanTwo = "Top JavaScript interview questions for web developers";
const studyPlanThree = "Top JavaScript interview questions for web developers";
var studyPlanOne = "Top JavaScript interview questions for web developers";
let studyPlanTwo = "Top JavaScript interview questions for web developers";
const studyPlanThree = "Top JavaScript interview questions for web developers";
console.log(studyPlanOne);
console.log(studyPlanTwo);
console.log(studyPlanThree);
console.log(studyPlanOne);
console.log(studyPlanTwo);
console.log(studyPlanThree);
}
myStudyPlan(); // Calls the function
myStudyPlan(); // Calls the function
```