Javascript
How would you create a JavaScript function that converts a date input into a readable time-elapsed format, and what are your considerations for varying time intervals and localization?
Try Free AI Interview
Interview question asked to Frontend Engineers interviewing at Dropbox, Gamigo, HCL Technologies and others: How would you create a JavaScript function that converts a date input into a readable time-elapsed format, and what are your considerations for varying time intervals and localization?.