As a beginner coder, I am struggling to find the solution to this coding issue. Here is the code snippet that I have attempted:
var X = "Angry";
if X = "Angry" console.log(X is Angry)
After running this code, I encountered an error message specifically pointing out a problem on the third line.