Quantum Metric interview question

Basic React and JS fundamentals