Pregunta de entrevista de IoT Inspector

I had to write a digit parser with error checking in React JS.