Chapter 3 question no. 6 of JavaScript is not getting solved even I am correct.
I have used this solution and it is matching with the answer but after submitting it says use not operator with and operator correctly in 1st log.
console.log(!x==y && y<x);
console.log(!y<x || y>x);