0
If else array country Javascript
How to get country array in the message Example Var country = ['US','FR',IN'] Var message = 'US,FR' If(message !== country){ Console.log('result message false'') }else{ Console.log('result true') } How to get result accepted with text = 'US,FR'
5 Antworten
+ 3
Kindly elaborate your question. It would be better if you share code from playground.
+ 2
Didn't understand the question ,can you explain what really do you want to output? Fail or ok or US,FR
+ 2
Maybe you had something like this in mind?
https://code.sololearn.com/WmpRXdfS1nMB/?ref=app
0
How to i condition if else accept with text like = 'US,IN' in array list
0
Thank josef nemec that worked ..👍🙏🙏