Files

31 lines
492 B
Markdown
Raw Normal View History

2018-10-12 15:37:13 -04:00
---
title: Catch Missing Open and Closing Parenthesis After a Function Call
---
# Catch Missing Open and Closing Parenthesis After a Function Call
2018-10-12 15:37:13 -04:00
---
## Hints
### Hint 1
2018-10-12 15:37:13 -04:00
- Remember to add opening and closing parentheses when calling a function.
- FunctionName + ();
---
## Solutions
<details><summary>Solution 1 (Click to Show/Hide)</summary>
2018-10-12 15:37:13 -04:00
```javascript
function getNine() {
let x = 6;
let y = 3;
return x + y;
}
let result = getNine();
console.log(result);
2018-10-12 15:37:13 -04:00
```
</details>