I have just had a problem that I cannot find any reference to in any
docs. Admittedly, I am a JavaScript newbie, but this sure seems like a
bug or an "undocument ed feature" in Opera 7.11. I have some debugging
code that writes messages to a TEXTAREA. I named the function that
writes to the TEXTAREA "print", e.g.
content = "";
cnt = 0;
function print(aLine) {
content += (aLine + "\n");
cnt++;
document.getEle mentById.transc ript.value = content;
};
print("some message");
The problem is that when I accidently mis-specified a DOM path to point
to an .html page and invoked "print", e.g.
print(self.pare nt.frames.trans cript);
then Opera gave me a popup Print Dialog. I replied OK and got printout
of the page currently being displayed by Opera. I looked in the docs
and "print" is not a reserved word in JavaScript. Can anyone tell me
what is going on?
--
Don't you see that the whole aim of Newspeak is to narrow the range of
thought? In the end we shall make thoughtcrime literally impossible,
because there will be no words in which to express it.
-- George Orwell, 1984
Comment