mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
parent
8e45299366
commit
c620eef077
@ -13,7 +13,7 @@ In the previous lecture videos, you learned how to declare functions like this:
|
||||
|
||||
```js
|
||||
// regular function
|
||||
function myFunction(){
|
||||
function myFunction() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -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';
|
||||
}
|
||||
```
|
||||
|
||||
@ -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';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user