0
Why my code is not executing?
6 Answers
+ 1
Sorry! I didn't get you
+ 1
I want to execute document.write(x)outside function x as a local variable
+ 1
Thank you so much for helping me
0
Do this , it will work:-
function hello(x){
y=x
document.write(x + "</br>")
}
hello(7)
document.write("code worked")



