Is there any difference between them ? I've been using both the ways but do not know which one does what and which is better?
function abc(){
// Code comes here.
}
abc = function (){
// Code comes here.
}
Is there any difference between defining these functions ? Something like i++ and ++i ?