Question from the General knowledge for developers test

Is the following a valid JavaScript expression? `undefined`

Hard

Is it possible to make the code below equal to "true"?

const result =  (a==1 && a==2 && a==3) ;
Author: Vincent CotroStatus: PublishedQuestion passed 393 times
Edit
0
Community Evaluations
developer avatar
Other
Raymond
21/12/2023
A priori non, une variable ne peut avoir 3 valeurs à la fois. Tordu mais c'est possible en Javascript, https://theanubhav.com/2018/11/7/understanding-primitive-and-getter-setters/