Roman To Integer Leetcode Javascript Questions