Micro-pattern: IIFE and Return-Early
Mar 8, 2021 · 5 min read · Immediately Invoked Function Expression (IIFE) If you came from JavaScript background you will most likely have encountered this pattern. Remember JQuery? ;(function($) { $('.spoilerBtn').click(function() { var button = $(this).find('.spo...
Join discussion

