module assigned to window, wrapped in regular IIFE syntax.

(implied global throws error in strict mode)