标签: javascript if-statement dynamic
我想生成动态条件,例如
condition = "a >= b && c == a && ((d - 4) == a ) ";
并执行此条件
if(condition) execute something else execute something