Functions

Why don’t the words ‘Thanks for your shopping’ appear when I run the function even though inside the function body it says console.log before the string. Why wouldn’t the function execute the task if it’s in the body?

Hello @code5678191000, welcome to the forums! Could you please post your code, and format it by pressing this button:


and to put the code between the back ticks:Screen Shot 2020-05-02 at 14.06.13

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.