Ciklum Interview Question

HOC in react JS logical program