I want to compare 2 dates in the following format shown below in variables a and b . I want to check if a is greater than b but the code below isnt working since its not a regular number
var a = "4/29/2015";
var b = "4/10/2015";
if(a > b){
alert("working");
}