Ask your own question, for FREE!
Mathematics 22 Online
OpenStudy (coconutjj):

Why won't this program work... http://pastebin.com/mQqp2uCa

OpenStudy (coconutjj):

Is it my computer that's just not cooperating, or is there something actually wrong

OpenStudy (mrnood):

I cannot help you with the detail of the code - however it is my experience that the most likely source of the problem is not the computer's lack of co-operation! :-)

OpenStudy (anonymous):

I think it might be due to the fact that "close" already exists and you aren't being allowed to redefine it. That is one guess. https://developer.mozilla.org/en-US/docs/Web/API/Window.close

OpenStudy (anonymous):

Remember that any global variable named `someName`, gets translated to `window.someName`.

Parth (parthkohli):

I don't know anything about programming. But what I know is if it doesn't work, then you're on the right track, buddy.

OpenStudy (anonymous):

change "close" to "closeThis" and it'll work

OpenStudy (anonymous):

now give me medal

OpenStudy (anonymous):

Okay really? I explained why there was an issue, and the person who gave a direct answer gets the medals?

Parth (parthkohli):

@wio I hope mine counts... :)

Parth (parthkohli):

Hahaha.

OpenStudy (anonymous):

Thanks Parth

OpenStudy (usukidoll):

brrr it's cold

OpenStudy (anonymous):

Winter bad in Hawaii?

OpenStudy (usukidoll):

errr it's not snowing, but the wind chill is there

OpenStudy (zzr0ck3r):

waaaaaaaaaaaaaa Hawaii is too cold what is it 80-82?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!