InComm interview question

Code & Test a solution with NodeJS