public/swaggerui/swagger-ui.js
function parseThrowStatement(node) {
        var argument;

        expectKeyword('throw');

        if (hasLineTerminator) {
            throwError(Messages.NewlineAfterThrow);
        }

        argument = parseExpression();

        consumeSemicolon();

        return node.finishThrowStatement(argument);
    }
function parseThrowStatement(node) {
        var argument;

        expectKeyword('throw');

        if (hasLineTerminator) {
            throwError(Messages.NewlineAfterThrow);
        }

        argument = parseExpression();

        consumeSemicolon();

        return node.finishThrowStatement(argument);
    }
function parseThrowStatement ( node ) { var argument ; expectKeyword ( 'throw' ) ; if ( hasLineTerminator ) { throwError ( Messages . NewlineAfterThrow ) ; } argument = parseExpression ( ) ; consumeSemicolon ( ) ; return node . finishThrowStatement ( argument ) ; }
ECMA-262 13.14 The throw statement
ECMA - 262 13 . 14 The throw statement