src/aria/utils/History.js
function (title) {
                var document = window.document;
                if (ariaUtilsType.isString(title)) {
                    document.title = title;
                } else {
                    title = document.title;
                }
                return title;
            }
function (title) {
                var document = window.document;
                if (ariaUtilsType.isString(title)) {
                    document.title = title;
                } else {
                    title = document.title;
                }
                return title;
            }
function ( title ) { var document = window . document ; if ( ariaUtilsType . isString ( title ) ) { document . title = title ; } else { title = document . title ; } return title ; }
Set the title of the page.
@param {String} title
@return {String} Actual title of the page. If no argument is provided, it represents the actual title of
the page
@private
Set the title of the page .