jquery if statement with variable mathematical operator Â using -'javascript,jquery'

Â Â Possible Duplicate:

Â Â Is there a way to make a comparison operator a variable? Â

So I am looking for something similar to this question python if statement with variable mathematical operator but in jQuery/Javascript

Essentially something like

var one = "4";

var two = "6";

var op = "==";

if (one op two) {

//do something

}

is this possible?

Â Â Â Â