Pregunta de entrevista de Wunderflats

How would you solve untyped problems in JS?