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.

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");


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

If you are a beginner and wants to try your hand in Full Stack Development, then must check out remotestack.io


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.