I want to check the type of an variable in my method as below
var prevDate=new Date(2000, 2, 2)
console.log(typeof prevDate);
now the it returns "object" as type, but it is the type of date. how can i get the type of prevDate using "typeOf" and dont want to use the jQuery.type(prevDate), as it takes more time to execute.
Thanks In advance