timoxley / functional-javascript-workshop

A functional javascript workshop. No libraries required (i.e. no underscore), just ES5.
2.06k stars 441 forks source link

Submission: undefined #120

Closed ZigaVukcevicDev closed 9 years ago

ZigaVukcevicDev commented 9 years ago

My input:

function upperCaser(input) {
    input.toUpperCase()
}

module.exports = upperCaser

My output 1:

functional-javascript run program.js

input: 'Quis ipsum consequat laboris ex nostrud dolor in ullamco elit labore sunt ad.'
submission: undefined

My output 2

functional-javascript verify program.js

input: 'Quis dolore pariatur eu elit excepteur mollit ipsum incididunt.'
submission: undefined
solution: 'QUIS DOLORE PARIATUR EU ELIT EXCEPTEUR MOLLIT IPSUM INCIDIDUNT.'

# FAIL

Your solution to Hello World didn't pass. Try again!

What am I doing wrong?

Ryan1729 commented 9 years ago

You didn't return anything from the function. See the section on functions here if you need more info.

ZigaVukcevicDev commented 9 years ago

Ah, I see. Thank you.