Skip to content

Instantly share code, notes, and snippets.

@jmortensen
jmortensen / romanNumeralConverter.js
Created October 15, 2019 07:07
Example function that will convert a roman numeral to a regular number
// roman numeral mapping
const NUMERALS = {
I: 1,
V: 5,
X: 10,
L: 50,
C: 100,
D: 500,
M: 1000
};