What is Function Expression and how doest it work?

Updated on:5 Jul 2020, 20:25pm IST

In this tutorial we will teach you what is function expression and how to create it.

Team Markup Infinity

When we create a function and assign it to a variable that is called function expression.

var myfun = function show(){
 document.write("This is custom function");
}
myfun();

Note:

We cannot call funtion expression before defining/declaring the function. If we call the funtion before declaring it, so it will not work.

user

Team Markup Infinity

Technology is such a broad kind of term, it really applies to so many things, from the electric light to running cars on oil. All of these different things can be called technology.