Pergunta de entrevista da empresa Fynd

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