Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Fixed function name
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldF authored Oct 5, 2023
1 parent bb8f887 commit 38b4047
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lesson06.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function sayHiToSevtap() {

sayHiToOwen();
sayHiToMellina();
sayHiToHarald();
sayHiToSevtap();
```

---
Expand All @@ -248,11 +248,11 @@ function sayHi(name) {

sayHi('Owen');
sayHi('Mellina');
sayHi('Harald');
sayHi('Sevtap');
```

- `name` is a function **parameter**
- "Owen", "Mellina", "Harald" are **arguments**. In each function call they will be assigned to the `name` parameter
- "Owen", "Mellina", "Sevtap" are **arguments**. In each function call they will be assigned to the `name` parameter

---

Expand Down

0 comments on commit 38b4047

Please sign in to comment.