samedi 28 juillet 2018

Error in javascript if expression

I am developing a vue application and I am using webpack for building my project. When I was running my application in development mode, I got an error as shown in the image.

enter image description here

As you can see seqNo variable has value 3 and it should not go inside the if condition. But it is going inside if condition. I was debugging using Google Chrome browser and then I switched to Firefox. I tried even using triple equations (===). But still the same problem occurs. Is there any way to overcome this issue ?

Thanks

Aucun commentaire:

Enregistrer un commentaire