On Tue, Jun 30, 2009 at 6:31 PM, Ravi<[email protected]> wrote:
> However, if there is a line like "document.write("Hello, world!")",
> the script fails to run saying "ReferenceError: Document is not
> defined".

The Document object is part of the browser, not part of the core JS
language, and thus you won't find it in v8. v8 only implements the
EMCAScript language itself, and not related standards like DOM.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to