# doThis = function () vs. function doThis() : what's the difference?

**URL:** https://forum.kirupa.com/t/dothis-function-vs-function-dothis-whats-the-difference/198698
**Category:** Uncategorized
**Created:** [August 27, 2006, 11:06pm UTC](https://forum.kirupa.com/t/dothis-function-vs-function-dothis-whats-the-difference/198698 "2006-08-27T23:06:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pixeline](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pixeline/32/885_2.png) [@pixeline](https://forum.kirupa.com/u/pixeline)
#### Post date: [August 27, 2006, 11:06pm UTC](https://forum.kirupa.com/t/dothis-function-vs-function-dothis-whats-the-difference/198698/1 "2006-08-27T23:06:28Z")

</div>

Could someone explain me what is the difference between:

doThis = function(params){

}

and

function doThis(params){  
}

??

thanks:)
