<-- Cookie sample index
Pattern 4: Immediately Invoked Function Expression
Result