iife js arrow function code example Example: iife js arrow function (() => { /* */ })() or (function() { /* */ })()