Here is my code i want alert to give (some data) value. which is of inner function it give undefined value
alert(f1());
function f1(){
f2(function (){
return "some data";
});
}
function f2(f4){
// some code
}
visit : https://jsfiddle.net/dvdhyttr/8/
i want alert get value (some data). but getting undefined.