Question from the Javascript - Fundamentals test

Write a JavaScript code that checks if two variables are equal.