ServiceNow Interview Question

Asked me to do a Javascript implementation of the GlideRecord API by extending classes. It was like a live coding interview. More questions were asked based on the solution.