I'm a newbie to JavaScript and I'm trying to wrap my head around anonymous functions. I understand how to create one but what is not clear is the purpose. Why make a function anonymous when it does the same job perfectly without being anonymous?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.