I have 3 files. Their respective filename are:
- OATH
- PRVA
- CONS
I need to process PRVA and CONS before processing OATH. How can I do this in Javascript?
Something like
if (filename.contains('PRVA')) {
// do this
} else if (filename.contains('CONS')) {
// do this
} else if, there is no more PRVA and CONS then do OATH
Aucun commentaire:
Enregistrer un commentaire