динамический оператор JavaScript if

var post = 10, logic = '>', value = 100;
var valid = eval(post + logic + value);
Poised Pollan