<commit_before>koansuite("About Functions", function() {

    koan("Function Declarations", function() {

        function add(a, b) {
            return a + b;
        }

        var subtract = function( c, d ) {
            return c - d;
        }

        assert( add(1, 2) === __, "How much?");

        assert( subtract(3, 4) === __, "Variables can reference functions");
    });

    koan( "Internal Variables Override Outer. Right?", function () {
        
        var message = "Outer";

        function getMessage() {
            return message;
        }

        function overrideMessage() {
            var message = "Inner";
            return message;
        }

        assert( getMessage() === __, "Can get message");

        assert( overrideMessage() === __, "Read override msg");

        assert( message === __, "What's the message?" );
    });
            /*<commit_msg>cleanup<commit_after>koansuite("About Functions", function() {

    koan("Function Declarations", function() {

        function add(a, b) {
            return a + b;
        }

        var subtract = function( c, d ) {
            return c - d;
        }

        assert( add(1, 2) === __, "How much?");

        assert( subtract(3, 4) === __, "Variables can reference functions");
    });

    koan( "Internal Variables Override Outer. Right?", function () {
        
        var message = "Outer";

        function getMessage() {
            return message;
        }

        function overrideMessage() {
            var message = "Inner";
            return message;
        }

        assert( getMessage() === __, "Can get message");

        assert( overrideMessage() === __, "Read override msg");

        assert( message === __, "What's the message?" );
    });
    /*
{'fraction_non_alphanumeric': 0.14124293785310735, 'fraction_numerical': 0.004519774011299435, 'mean_word_length': 1.7802197802197801, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4084897', 'n_tokens_mistral': 503, 'n_tokens_neox': 464, 'n_words': 136}