Tell us what’s happening:
Describe your issue in detail here.
Your code so far
function convertToRoman(num) {
const romanos = {
"M" : 1000,
"CM" : 900,
"D" : 500,
"CD" : 400,
"C" : 100,
"XC" : 9,
"L" : 50,
"SG" : 40,
"X" : 10,
"IX" : 9,
"V" : 5,
"IV" : 4,
"I" : 1,
}
if(num > 0){
return
}
}
let a = convertToRoman(2);console.log(a)
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36
Challenge Information:
JavaScript Algorithms and Data Structures Projects - Roman Numeral Converter
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/roman-numeral-conve