Domanda di colloquio di Scoot Networks

They asked me to write code in JavaScript