Sabre Interview Question

Convert an input number into Roman Numerals using JavaScript