Essential JavaScript

The First Kata

You are about to complete the first kata on this site!

To solve a kata, you have to finish writing a function. You do not need to call the function. There are built-in tests that will call your function for you.

Solving a Kata

Each kata will have a series of tests that will check if your code passed the challenge. When you click the Submit button, the test results will appear below the editor.

Each test will show:

  • The Title and status of the test: [PASS] or [FAIL]
  • Any Arguments passed into the function
  • The Result returned from your function
  • The Expected result

Once you submit your code and pass the tests, you are ready to move on to the next lesson.

Challenge

For this first challenge, add the numbers first, second, and third, and return the result.

Code Editor