If I have a title with multiple consecutive spaces, document.title returns a string with a single space for each such space combo.
document.title
Example: &
&