Functions :

Function statement :

Example :

function sum(){
	console.log( " function statement");
}

Function Expression :

Example:

var add= function (num , num2){
	return num+ num2;
}
add(10,25);  // function called through variable name

Difference between statement and expression :

Hoisting applies to the function statement.

Hoisting is not applicable for a function expression.