Pregunta de entrevista de Leggett & Platt

what is the difference between retain and assign?