function x (w, e){return w+e + m;} var m = "Outer value of m"; {var m = "Inner value of m."; document.write("42 "+4*6 + x(" 3", 4));} document.write("m after: "+m);