Pregunta de entrevista de Virtusa

JavaScript coding questions. Reverse a string. Write a function that can find length of argument.