Essential JavaScript

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