# How important is the semi-colon after functions

**URL:** <https://forum.kirupa.com/t/how-important-is-the-semi-colon-after-functions/182670>\
**Category:** flash\
**Created:** [March 20, 2006, 4:50pm UTC](https://forum.kirupa.com/t/how-important-is-the-semi-colon-after-functions/182670 "2006-03-20T16:50:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kungFuChris](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kungFuChris](https://forum.kirupa.com/u/kungFuChris)\
**Post date:** [March 20, 2006, 4:50pm UTC](https://forum.kirupa.com/t/how-important-is-the-semi-colon-after-functions/182670/1 "2006-03-20T16:50:25Z")

</div>

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

```auto
foo = function()
{
// stuff here
}

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

```
