dimanche 2 février 2020

Password Check in javascript [duplicate]

code : if(password.indexOf(" ") === -1)

what is the mean by triple equal and negative one (-1)? and why we use -1 in code?

Aucun commentaire:

Enregistrer un commentaire