Green’s Dictionary of Slang

damn adj.

also dam
[damned adj.]

1. [18C+] a strong expression of reprehension or dislike.

2. [20C+] a general intensifier, complete, utter.

3. [1910s+] as an infix, e.g. anydamnbody.