Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a10ee commit 274686aCopy full SHA for 274686a
2 files changed
Conversions/RomanToDecimal.js
@@ -8,7 +8,7 @@ const values = {
8
M: 1000
9
}
10
11
-function romanToDecimal (romanNumber) {
+export function romanToDecimal (romanNumber) {
12
let prev = ' '
13
14
let sum = 0
@@ -32,5 +32,3 @@ function romanToDecimal (romanNumber) {
32
33
return sum
34
35
-
36
-export { romanToDecimal }
Conversions/test/RomanToDecimal.test.js
@@ -1,4 +1,4 @@
1
-import { romanToDecimal } from '../romanToDecimal'
+import { romanToDecimal } from '../RomanToDecimal'
2
3
describe('romanToDecimal', () => {
4
it('XXIIVV', () => {
0 commit comments