Publicis Sapient Interview Question

Asked me to implement one feature where I need to use Promise.all