How to click on a year in calendar with selenium using javaScript

I am trying to write Selenium test with javaScript but was unable to fill calendar data. It is using a dropdown menu

let calendar = driver.findElement(By.xpath(“//input[@id=’dateOfBirthInput’]”))
await calendar.click()
let month = driver.findElement(By.xpath(“//select[@class=’react-datepicker__month-select’]”))
await month.click()
await month.sendKeys(Key.DOWN, Key.DOWN, Key.RETURN)

let year = driver.findElement(By.xpath(“//select[contains(@class,’react-datepicker__year-select’)]”)).value = “1988”

How can i clcik on value that i need. Consol loging year gives me 1988 but idk how to select it in browser. Is there any other way besides pressing Key.DOWN 35 times. I cannot use Select class in js…