lib/rules/no-useless-constructor.js
function isRedundantSuperCall(body, ctorParams) {
    return (
        isSingleSuperCall(body) &&
        ctorParams.every(isSimple) &&
        (
            isSpreadArguments(body[0].expression.arguments) ||
            isPassingThrough(ctorParams, body[0].expression.arguments)
        )
    );
}
function isRedundantSuperCall(body, ctorParams) {
    return (
        isSingleSuperCall(body) &&
        ctorParams.every(isSimple) &&
        (
            isSpreadArguments(body[0].expression.arguments) ||
            isPassingThrough(ctorParams, body[0].expression.arguments)
        )
    );
}
function isRedundantSuperCall ( body , ctorParams ) { return ( isSingleSuperCall ( body ) && ctorParams . every ( isSimple ) && ( isSpreadArguments ( body [ 0 ] . expression . arguments ) || isPassingThrough ( ctorParams , body [ 0 ] . expression . arguments ) ) ) ; }
Checks whether the constructor body is a redundant super call.

@param {Array} body - constructor body content.
@param {Array} ctorParams - The params to check against super call.
@returns {boolean} true if the construtor body is redundant
Checks whether the constructor body is a redundant super call .