Code is:
var a = new Date();
a.prototype = {
b: function () {
console.log("111111");
}
}
var month = a.getMonth();
month.b();
but the grammar does not pass, may I ask why? In the Vue project