* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
606 B
606 B
title
title |
---|
Understand the Immediately Invoked Function Expression (IIFE) |
Understand the Immediately Invoked Function Expression (IIFE)
Problem Explanation
The first test case asks you to make the function anonymous. To do this simply remove the name of the function as seen in the example. The function must then be wrapped in curly brackets with another set of curly brackets at the end to immediatly call the function.
Solutions
Solution 1 (Click to Show/Hide)
(function() {
console.log("A cozy nest is ready");
})();