DEV Community

Discussion on: Optimising JavaScript code

Collapse
 
igbominadeveloper profile image
Favour Afolayan

The pattern applied here brought in sanity and good structure to this code.
Some god level coding here, my man.
You are the first colleague that I saw used IIFE

Collapse
 
nwamugo profile image
UGOJI Duziem

Thank you for the kind words. It's amazing how in many different ways a problem can be solved. Credit to Udemy tutor Jonas Schmedtmann, from whom I learnt how to use the IIFE to bring structure to code.