Thursday, July 15, 2010

function functionOne() vs functionTwo = function()

Do you know the difference between these two syntax in Javascript:

function functionOne() {
  //function body
}

functionTwo = function() {
  // function body
}

var funcionTwo = function() {
  // function body 
}

Just check this thread. :)

No comments: