As you have seen in the previous article, a function does not necessarily require a name: function () {} (anonymous functions) is a completely valid expression. Since functions are objects, they will have a name property which contains the name of the function as a string. For anonymous functions the value of this property is an empty string: "".
Your new post is loading...