Answer would be Option 1 as when we use == then it implicitly type cast operands.Therefore, [1] will become "1" and then 1. Similarly, for all arrays type casting will take place.

For useful and amazing frontend and programming tutorials: https://bit.ly/devtools-yt