Warner Bros. Discovery interview question

Javascript Challenge about ORM .