Web浏览器环境外文翻译资料
Web浏览器环境外文翻译资料(中文3600字+英文2000字)
要理解客户端JavaScript,必须理解Web浏览器所提供的编程环境。接下来的章节介绍的是在Web浏览器提供的编程环境下的三个重要特性:
• 作为全局对象的Window对象和客户端JavaScript代码的全局执行环境。
• 客户端对象的层次和构成它的一部分的文档对象模型(DOM)。
• 事件驱动的编程模型。
这些小节之后将讨论JavaScript在Web应用程序开发中的扮演的适当角色。
The Web Browser Environment
To understand client-side JavaScript, you must understand the programming environment provided by a web browser. The following sections introduce three important features of that programming environment:
• The Window object that serves as the global object and global execution context for client-side JavaScript code
• The client-side object hierarchy and the Document Object Model that forms a part of it
• The event-driven programming model
These sections are followed by a discussion of the proper role of JavaScript in web application development.
[资料来源:Doc163.com]
[资料来源:http://Doc163.com]