Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dynamic operator javascript if statement

var post = 10, logic = '>', value = 100;
var valid = eval(post + logic + value);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dynamic #operator #javascript #statement
ADD COMMENT
Topic
Name
8+8 =