I have seen developers using different ways to declare/define functions in js,
like:
// 1
createview:function()
{
}
// 2.
var createview=function()
{
}
// 3.
function createview()
{
}
While 2nd and 3rd are function expression and declaration respectively, what's with the 1st usage?