function x(w){function y(v){return w+v;} return y;}
document.write(x(3)+ " is a function");
var zz = x(3);
document.write("<br>ff= "+zz(8));

function y(v) { return w + v; } is a function
ff= 11