Pregunta de entrevista de York IE

In my last interview, one interesting question they asked me was to reverse a string in JavaScript without using the built-in reverse function. They wanted to see my logic-building skills and how I handle simple problems in different ways.