Glossary
- -- operator
- -= operator
- ++ operator
- += operator
- Accessing and setting content
- Array length
- Arrays
- Between braces
- Booleans
- Braces
- Calling the function
- Class
- Code block
- Conditions
- Console
- Constructor
- Creating a p element
- Else
- Else if
- Equals operator
- Extend
- Filter
- For loop
- function
- Function name
- Greater than
- Head element
- If statement
- Less than
- Map
- Methods
- Numbers
- Overriding methods
- Parameters
- Reduce
- Removing an element
- Replace
- Sort
- Splice
- String
- Substring
- Tile
- while-loops
JAVASCRIPT
Calling the function in JavaScript
To run the code, we need to call the function. We do that by coding its name followed by parentheses, like greetUser();
.
function greetUser() {
console.log("Good morning Anna");
console.log("Welcome back");
}
greetUser();
Sign up or download Mimo from the App Store or Google Play to enhance your programming skills and prepare for a career in tech.