mask date of birth/ dob in javascript
maskDate(date) {
// console.log(date);
var dateVar = new Date(date);
// console.log("XX/XX/"+ dateVar.getFullYear().toString().substr(-2));
return "XX/XX/"+ dateVar.getFullYear().toString().substr(-2);
}