Sha256: 858df9a5119100fa1d238c6cfd7555ff6c04e4c6f1fea1e7daf7890a246a13cd

Contents?: true

Size: 480 Bytes

Versions: 43

Compression:

Stored size: 480 Bytes

Contents

/*jsl:option explicit*/
function anon_no_return_value() {
    var error1 = function(b) {
        if (b)
            return true;
        else
            return; /*warning:anon_no_return_value*/
    };

    var error2 = function(b) {
        if (b) {
            return;
        }
        else {
            return ""; /*warning:anon_no_return_value*/
        }
    };


    var correct = function(b) {
        if (b)
            return;
        else
            return;
    };
}

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
distil-0.8.1 vendor/jsl-0.3.0/tests/warnings/anon_no_return_value.js
distil-0.8.0 vendor/jsl-0.3.0/tests/warnings/anon_no_return_value.js
distil-0.7.0 vendor/jsl-0.3.0/tests/warnings/anon_no_return_value.js