Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

multiple conditions

$
0
0

Hello, coming from Flash I use to use || for multiple condition like :

 

if ( Var1 == "A" || Var1="B" ) {

 

} else {

 

}

 

but || doesn't work, so what can I use ?

 

thanks


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>