logo CodeStepByStep logo

javaScriptClub

Language/Type: JavaScript basics functions
Author: Melissa Hovik (on 2016/09/25)

Assume the following functions are defined:

function jsClubRules() {
    console.log("Welcome to the JavaScript club.");
    console.log();
    printRule();
    printRule();
    console.log("Welcome to the JavaScript club.");
}

function printRule() {
    console.log("The first rule of");
    console.log("JavaScript club is,");
    console.log("you do not talk about Java.");
    console.log();
}
        

What console output would result from calling jsClubRules?

output

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.