Comparison operators, strict equality

// Write a function that takes two values, say a and b, as arguments
// Return true if the two values are equal and of the same type
function
myFunction
(
a, b
)
{

return
}
Test Cases:
myFunction(2, 3)
Expected
false
myFunction(3, 3)
Expected
true
myFunction(1, '1')
Expected
false
myFunction('10', '10')
Expected
true

How to solve it

You have to differentiate between basic equality (==) and strict equality (===). Both operators check whether two values are equal. However, strict equality requires both values to have the same type. For example, the string '1' and the number 1 are equal, but not strictly equal.
Equality:
console.log('a' == 'b')
// output: false
console.log('a' == 'a')
// output: true
console.log('1' == 1)
// output: true
Strict Equality:
console.log('a' === 'b')
// output: false
console.log('a' === 'a')
// output: true
console.log('1' === 1)
// output: false