EPAM Systems interview question

AMPscript code reading - SSJS code writing for retrieving records