You need to write a self-executing anonymous function in JavaScript.
Which code snippet should you include in the function?
A. (function () {
-¦
});
B. (function anon() {
-¦
}) ();
C. (function anon() {
-¦
};
D. (function () {
-¦
}) ();
Explanation:
References:
http://esbueno.noahstokes.com/post/77292606977/self-executing-anonymous-functions-or-how-to-write