A Non Anonymous JavaScript Method Must Be Declared Before Use
Non anonymous functions should be declared before use.
Good Example:
// [...]
function namedFunction() {
return;
}
return {
"namedFunction": namedFunction
};
Bad Example:
// [...]
return {
"namedFunction": function namedFunction() {
return;
}
};