Pregunta de entrevista de Fynd

How to convert string to integer and integer to string in javascript.