lib/rules/no-useless-constructor.js
function isValidIdentifierPair(ctorParam, superArg) {
    return (
        ctorParam.type === "Identifier" &&
        superArg.type === "Identifier" &&
        ctorParam.name === superArg.name
    );
}
function isValidIdentifierPair(ctorParam, superArg) {
    return (
        ctorParam.type === "Identifier" &&
        superArg.type === "Identifier" &&
        ctorParam.name === superArg.name
    );
}
function isValidIdentifierPair ( ctorParam , superArg ) { return ( ctorParam . type === "Identifier" && superArg . type === "Identifier" && ctorParam . name === superArg . name ) ; }
Checks whether given 2 nodes are identifiers which have the same name or not.

@param {ASTNode} ctorParam - A node to check.
@param {ASTNode} superArg - A node to check.
@returns {boolean} `true` if the nodes are identifiers which have the same
name.
Checks whether given 2 nodes are identifiers which have the same name or not .