Essential JavaScript
Introduction
JavaScript Basics
Numbers
Strings
Logic
Variables
Loops
Objects
Arrays
Arrays Intro
Making Arrays
Array Builder Kata
Array Elements
Human Names Kata
Array Length
Longest Array Kata
Looping Over Arrays
Highest Number Kata
Word Hunter Kata
Array Average Kata
Min-Max Kata
Adding Elements
Number Range Kata
Removing Elements
Arrays of Objects
Biggest Animal Kata
Arrays of Arrays
Taboo Words Kata
Going Further
Essential JavaScript
Introduction
JavaScript Basics
Numbers
Strings
Logic
Variables
Loops
Objects
Arrays
Arrays Intro
Making Arrays
Array Builder Kata
Array Elements
Human Names Kata
Array Length
Longest Array Kata
Looping Over Arrays
Highest Number Kata
Word Hunter Kata
Array Average Kata
Min-Max Kata
Adding Elements
Number Range Kata
Removing Elements
Arrays of Objects
Biggest Animal Kata
Arrays of Arrays
Taboo Words Kata
Going Further
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
Click "Run Tests" to execute your function and see the test results below.
Test Results
Run your code to see test results
Console Output
// Console output will appear here...
0 output lines