I have this lengthy if condition which I have to use, but was looking on how to extract this into a function,
if((!validUser() && (userGroupId < userId || userId === 0)) || userBatchId === 0){ //Code to be executed }
Aucun commentaire:
Enregistrer un commentaire