Bother interview question

Vanilla Javascript algorithms and creating JS classes