Lets think we have this variables
var x=1;
var y=2;
var a = "x>y";
is there a way to make something like;
(if(a){RUN JS CODE;})
. Because in that way it dont get the boolean expresion (x>y) it will get the bunch of character(the string) I know i can separate:
the left expression
the boolean operator
the right expresion
But that is an extra work to the client side device (because is javascript)
Is there a way to do like "LITERAL STRING" to "Boolean Expresion"