Pregunta de entrevista de Sprinklr

What is the difference between this two code