ColT,
сезон года от
Malleys,
https://javascript.ru/forum/dom-wind...tml#post502010
var month = 1 + new Date().getMonth();
var season = Math.floor(month % 12 / 3);
var seasonName = ["price", "pricev", "pricel", "priceo"][season];
this.emailData['price-per-day'] = +this.cars[this.currentCar][seasonName]['val'].replace(/\D+/g,"");