devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Add a new Topic on JavaScript Docs

Open kumar007ambi opened this issue 1 year ago • 2 comments

Feature request

Add IIFE Topic on miscellaneous Section

Ok

Summary

IIFE provides encapsulation, allowing you to create private scopes for variables and functions

Examples

(function () { // … })();

kumar007ambi avatar Oct 02 '24 14:10 kumar007ambi

DevDocs does not author any docs itself. IIFE is covered here https://developer.mozilla.org/en-US/docs/Glossary/IIFE, the glossary is not part of https://devdocs.io/javascript/, though...

simon04 avatar Oct 10 '24 20:10 simon04

Also covered here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/function

The glossary covers all MDN topics and should not be incorporated into any specific devdoc bundle.

spamguy avatar May 19 '25 20:05 spamguy