If a function is named, the function name binding seems to take
priority over a parameter name. Therefore:
js>(function a(a){return a})(1);

function a(a) {
    return a;
}

All other JS engines return 1 here. Is this a "feature" that can be
configured in the context or is this a bug?
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to