function y(x){return "Outer y. ";} function x (w, e){ var m = 2; function y(a){return m+a;} return w+y(e) + m;} var m = "This is m."; document.write("42 " + "fun val->"+x(" 3", 4)+"<br>"); document.write("m is now "+m + y(11));