fix(curriculum): Missing space in function declaration #56498 (#56502)

This commit is contained in:
Harshit Rojra
2024-10-04 07:23:52 +05:30
committed by GitHub
parent 8e45299366
commit c620eef077
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ In the previous lecture videos, you learned how to declare functions like this:
```js
// regular function
function myFunction(){
function myFunction() {
}

View File

@@ -12,7 +12,7 @@ One of concepts you learned in the previous lecture videos was how to return val
Here is a reminder of how to return a value from a function:
```js
function myFunction(){
function myFunction() {
return 'Hello World';
}
```

View File

@@ -12,7 +12,7 @@ In the previous lecture videos, you learned how to call(invoke) a function. Call
Here is a reminder of how to call a function:
```js
function myFunction(){
function myFunction() {
return 'Hello World';
}