Skip to content Skip to sidebar Skip to footer
Showing posts with the label Iife

Understanding Iife

in my page i have several img tags as follow: in the js file i've created this: function Sto … Read more Understanding Iife

Re-invoking Iife

Why is that code block throws an error 'Uncaught ReferenceError: setSize is not defined' co… Read more Re-invoking Iife

A Javascript Function

Please explain the following way of writing a function in javascript functions : (function (){ /… Read more A Javascript Function

Re-invoking IIFE

Why is that code block throws an error 'Uncaught ReferenceError: setSize is not defined' co… Read more Re-invoking IIFE

What Are The Different Ways Of Writing An IIFE? What Are Their Use Cases?

I have started reading this book. Chapter 2 says that there are different ways to write an IIFE: !f… Read more What Are The Different Ways Of Writing An IIFE? What Are Their Use Cases?