When I type following JavaScript code in editor window:

function f1(a, b) {
    // ...
}

f2 = function (a, b) {
    // ...
};

var f3 = function (a, b) {
    // ...
};

var f4 = function (a, b) {
        // ...
    },
    f5 = function (a, b) {
        // ...
    };


in Code Explorer there are visible only following functions: *f1(a, b)*,
*f2(a, b)*, *f5(a, b)*. *f3* and *f4* are visible only as
variables. I think that function is more specific than general variables so they
should be displayed as functions always when possible. This is especially
important in JavaScript where pure functions is so wide used.

-- 
<http://forum.pspad.com/read.php?4,68125,68125>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem