The domain of the function is all words, as the function applies to any input word without modification. There is no part of the domain where the rule the function normally applies, does not hold.