How important is the semi-colon after functions

Hi

Does it matter if you put the semi colon " ; " after a function?

i notice that if i write a function with or without it flash does not give an action script error e.g

foo = function()
{
// stuff here
}

parse without error as 
foo = function()
{
// stuff here
};