What is the difference between these declarations? function a(){ } var a = function(){ }
Anonymous
afoucs both are same but var a is aside to a variable but function is directly assigned to dom which will take more memory as it will go into browser default function level(3 party level)
Check out your Company Bowl for anonymous work chats.