I cant figure out what Is missing but I am unable to print the spaces. The output prints the hashes but no spaces.
**//make a line of hashes**
function makeLine(size){
let hashes = ""
for (let i = 0; i < size; i++){
hashes = hashes + '#';
}
return hashes;
}
**//repeat a string for given times function**
function repeatStringNumTimes(str, num) {
return str;
}
**//function to print spaces then number of hashes then spaces again**
function makeSpaceLine(numSpaces,numChars){
let lineSpace = " "
return (repeatStringNumTimes(lineSpace, numSpaces) + makeLine(numChars) + repeatStringNumTimes(lineSpace, numSpaces));
}
makeSpaceLine(100,10);