Pergunta de entrevista da empresa Indigo

Convert an integer to the Roman Numeral equivalent (JavaScript)