LTM Limited interview question

About Javascript and API integration