As you can see from the embed below... my script is only returning one result(500). How can I rewrite my code so that I get both results? Thank you in advance for your advice.
You can return a string instead of 2 separate number and then, split it into two number. Something like this:
function multiplier(number) {
return number * 20 + '|' + number * 1;
}
var output = multiplier(20)
console.log(output.split('|')[0], output.split('|')[1]);