Meta interview question

Coding Test was Javascript without the use of libraries.