Files
Randell Dawson 1494a50123 fix(guide): restructure curriculum guide articles (#36501)
* fix: restructure certifications guide articles
* fix: added 3 dashes line before prob expl
* fix: added 3 dashes line before hints
* fix: added 3 dashes line before solutions
2019-07-24 13:29:27 +05:30

492 B

title
title
Catch Missing Open and Closing Parenthesis After a Function Call

Catch Missing Open and Closing Parenthesis After a Function Call


Hints

Hint 1

  • Remember to add opening and closing parentheses when calling a function.
  • FunctionName + ();

Solutions

Solution 1 (Click to Show/Hide)
function getNine() {
  let x = 6;
  let y = 3;
  return x + y;
}

let result = getNine();
console.log(result);