Write a function in Javascript that takes Roman numerals (in String form) and convert it to decimal form. Assume the string is well-formed.
Anonimo
I kind of stumbled to get to this solution. It's much easier to code alone than having someone on the other side, so keep that in mind when you interview.