I have made a function that should build the number for me, which was working and for some reason has stopped.
function buildNumber(num){ console.log(num)