Funcname = function()

If I am not mistaken I think what it does is just sets a function to a variable. It possibly by theory would work but I would personally just stick to the normal way doing it.

I am pretty sure it is the exact same thing just written differently. I found this post answer which explains it but it is legit just the same if I am not mistaken: What is the difference between a local function and a normal function? - #3 by XAXA