# Basic Knowledge

**URL:** https://forum.kirupa.com/t/basic-knowledge/128936
**Category:** Uncategorized
**Created:** [November 17, 2004, 7:32pm UTC](https://forum.kirupa.com/t/basic-knowledge/128936 "2004-11-17T19:32:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tyler](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@Tyler](https://forum.kirupa.com/u/Tyler)
#### Post date: [November 17, 2004, 7:32pm UTC](https://forum.kirupa.com/t/basic-knowledge/128936/1 "2004-11-17T19:32:42Z")

</div>

There is a simple logic that I can’t seem to grasp concerning anonymous functions.  
I read about it but its never explained with simple terms.  
[COLOR=Blue]Circle.prototype.area = function () {return Math.PI \* this.radius \* this.radius}  
[/COLOR]

What is the difference between declaring the function, naming it then writing the code inside brackets, and the line of code above.

Can someone explain this to me like am a 6 years old 🙂

**What you’re feeling is premature enlightment…**
