Essential JavaScript

Going Further

Equal Values Kata

You are working on a prototype factory robot. Your robot will be sorting items into different categories.

The first thing your robot needs to be able to do is determine if two items are identical.

Write a function that receives two inputs (input1 and input2). These inputs may be any combination of numbers, Boolean values, or strings.

Return true if both inputs are strictly equal and false otherwise.

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