Why `(() => {})();` Actually Works?August 23, 2025 · 3 min readKartik MehtaBreaking Things on PurposeI was just scrolling Twitter when I found this weird snippet of JavaScript: