logo Practice-It logo

javaScriptClub

Language/Type: JavaScript basics functions
Author: Melissa Medsker-Galloway (on 2016/11/18)

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

If you do not understand how to solve a problem or why your solution doesn't work, please contact your TA or instructor.
If something seems wrong with the site (errors, slow performance, incorrect problems/tests, etc.), please

Is there a problem? Contact a site administrator.