Am stuck here in Ternary Operators

Am stuck:**

This is my code so far but am stuck

function checkEqual(a, b) {
return a = b ? true : false ;
}

checkEqual(1, 2);


**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36</code>.

**Link to the challenge:**
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/use-the-conditional-ternary-operator/

you need to use == or === when you are comparing values.

oh thanks yeah it workd