Replicant Interview Question

Basic JS questions, loops, etc.