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