Visually Optimizing JavaScript Conditional Operators that are stringed together -
In Javascript we say we have the following code
var test = 'd '; If (test! = 'A' and test! = 'B' & test! = 'C') Warning ('was good to go'); It would be nice to type something like if looks too long for me
if (test! = ('A 'And' B 'and' A 'and' C ') Warning (' Good to go '); Unfortunately this is not working. What is a great way?
var test = 'd'; if (! / [Abc ] /. Test (test) alerts ('was good to go');
Comments
Post a Comment