`
var questions = new Array($("#question1"), $("#question2"), $("#question3"))
var randomQuestion = questions.sort(() => .5 - Math.random());
console.log( randomQuestion[0] )
console.log(  $("#question3") )
if ( randomQuestion[0] === $("#question3") ){ alert("same")}
else { alert("unsame")} `

Why if  randomQuestion[0] === $("#question3") not work ?
All condition still show alert unsame.
 
     
     
     
    