create

  • 版本网址缩略名: JavaScript/Reference/Global_Objects/Object/create
  • 版本标题: create
  • 版本 id: 16193
  • 创建于:
  • 创建者: Mickeyboy
  • 是否是当前版本?
  • 评论

修订内容

从这里开始
JavaScript 起始教程

JavaScript是一个小型的,轻量级的,面向对象的,跨平台的脚本语言。JavaScript,作为一个独立的语言并不是很有用,它是被设计为易于嵌入另一些产品和应用程序的,比如web浏览器。在一个宿主环境中,JavaScript能够用来连接那些环境所提供的可编程控制的对象。

关于在浏览器中使用JavaScript的有关信息,请参考DOMDHTML主题。Gecko DOM Reference描述了在基于Gecko的浏览器中可使用的宿主对象。

关于在你的应用程序中嵌入JavaScript引擎的有关信息,请参考SpiderMonkey

Selected Articles

New in JavaScript 1.6
Describes new features of JavaScript 1.6, a new version of JavaScript supported by Firefox 1.5 and other Mozilla 1.8-based applications.
Migrate apps from Internet Explorer to Mozilla
Doron Rosenberg tells you how to make sure your web applications work in both IE and Mozilla.
The World's Most Misunderstood Programming Language
Despite its popularity, few know that JavaScript is a very nice dynamic object-oriented general-purpose programming language. How can this be a secret? Why is this language so misunderstood?
JavaScript Closures
Closures are one of the most powerful features of ECMAScript (JavaScript) but they cannot be properly exploited without understanding them. They are, however, relatively easy to create, even accidentally, and their creation has potentially harmful consequences, particularly in some relatively common web browser environments. To avoid accidentally encountering the drawbacks and to take advantage of the benefits they offer it is necessary to understand their mechanism.
Object Oriented Programming in JavaScript
Part I of this article discusses the creation of private variables and methods in classes in JavaScript. Part II covers inheritance.

View All...

Featured Content

Other Pages

相关内容

AJAX, DOM, DHTML, E4X, SpiderMonkey

{{ ajaxrss{ feed: 'http://developer.mozilla.org/webwatch/?cat=3&feed=rss2' , short: true, max: '5', charset: 'UTF-8' } }} View All...

Categories

Interwiki Language Links


{{ wiki.languages( { "en": "en/JavaScript", "es": "es/JavaScript", "fr": "fr/JavaScript", "it": "it/JavaScript", "ja": "ja/JavaScript", "ko": "ko/JavaScript", "pl": "pl/JavaScript", "pt": "pt/JavaScript" } ) }}

修订版来源

<div class="breadcrumbs"><a href="cn">首页</a>&gt; JavaScript</div>
<div class="callout-box"><b><a href="cn/%e4%bb%8e%e8%bf%99%e9%87%8c%e5%bc%80%e5%a7%8b">从这里开始</a></b><br>
JavaScript 起始教程</div>
<div>
<p><b>JavaScript</b>是一个小型的,轻量级的,面向对象的,跨平台的脚本语言。JavaScript,作为一个独立的语言并不是很有用,它是被设计为易于嵌入另一些产品和应用程序的,比如web浏览器。在一个宿主环境中,JavaScript能够用来连接那些环境所提供的可编程控制的对象。
</p><p>关于在浏览器中使用JavaScript的有关信息,请参考<a href="cn/DOM">DOM</a>和<a href="cn/DHTML">DHTML</a>主题。<a href="cn/Gecko_DOM_Reference">Gecko DOM Reference</a>描述了在基于<a href="cn/Gecko">Gecko</a>的浏览器中可使用的宿主对象。
</p><p>关于在你的应用程序中嵌入JavaScript引擎的有关信息,请参考<a href="cn/SpiderMonkey">SpiderMonkey</a>。
</p>
</div>
<table class="topicpage-table">
<tbody><tr><td>
<h4 name="Selected_Articles"> Selected Articles </h4>
<dl><dt> <a href="cn/New_in_JavaScript_1.6">New in JavaScript 1.6</a>
</dt><dd> <small>Describes new features of JavaScript 1.6, a new version of JavaScript supported by Firefox 1.5 and other Mozilla 1.8-based applications.</small>
</dd></dl>
<dl><dt> <a href="cn/Migrate_apps_from_Internet_Explorer_to_Mozilla">Migrate apps from Internet Explorer to Mozilla</a>
</dt><dd> <small>Doron Rosenberg tells you how to make sure your web applications work in both IE and Mozilla.</small>
</dd></dl>
<dl><dt> <a class="external" href="http://www.crockford.com/javascript/javascript.html">The World's Most Misunderstood Programming Language</a>
</dt><dd> <small>Despite its popularity, few know that JavaScript is a very nice dynamic object-oriented general-purpose programming language. How can this be a secret? Why is this language so misunderstood?</small>
</dd></dl>
<dl><dt> <a class="external" href="http://jibbering.com/faq/faq_notes/closures.html">JavaScript Closures</a>
</dt><dd> <small>Closures are one of the most powerful features of <a href="cn/ECMAScript">ECMAScript</a> (JavaScript) but they cannot be properly exploited without understanding them. They are, however, relatively easy to create, even accidentally, and their creation has potentially harmful consequences, particularly in some relatively common web browser environments. To avoid accidentally encountering the drawbacks and to take advantage of the benefits they offer it is necessary to understand their mechanism.</small>
</dd></dl>
<dl><dt> <a class="external" href="http://phrogz.net/JS/Classes/OOPinJS.html">Object Oriented Programming in JavaScript</a>
</dt><dd> <small>Part I of this article discusses the creation of private variables and methods in classes in JavaScript. <span class="exlink"><a href="cn/Object_Oriented_Programming_in_JavaScript_-_Part_II_(external)">Part II</a></span> covers inheritance.</small>
</dd></dl>
<p><span class="alllinks"><a href="Special:Tags?tag=JavaScript:Articles&amp;language=zh-cn">View All...</a></span>
</p>
</td>
<td>
<h4 name="Featured_Content"> Featured Content </h4>
<ul><li> <a href="cn/JavaScript_1.5_%e6%a0%b8%e5%bf%83%e5%8f%82%e8%80%83">JavaScript 1.5 核心参考</a>
</li><li> <a href="cn/JavaScript_1.5_%e6%a0%b8%e5%bf%83%e6%8c%87%e5%8d%97">JavaScript 1.5 核心指南</a>
</li></ul>
<h4 name="Other_Pages"> Other Pages </h4>
<ul><li> <a href="Special:Tags?tag=JavaScript:References&amp;language=zh-cn">References</a>
</li><li> <a href="Special:Tags?tag=JavaScript:Articles&amp;language=zh-cn">Articles</a>
</li><li> <a href="Special:Tags?tag=JavaScript:Examples&amp;language=zh-cn">Examples</a>
</li><li> <a href="Special:Tags?tag=JavaScript:Tools&amp;language=zh-cn">Tools</a>
</li><li> <a href="cn/JavaScript/Community">Community</a>
</li><li> <a href="cn/JavaScript/Other_Resources">Other Resources</a>
</li></ul>
<h4 name=".E7.9B.B8.E5.85.B3.E5.86.85.E5.AE.B9"> 相关内容 </h4>
<dl><dd> <a href="cn/AJAX">AJAX</a>, <a href="cn/DOM">DOM</a>, <a href="cn/DHTML">DHTML</a>, <a href="cn/E4X">E4X</a>, <a href="cn/SpiderMonkey">SpiderMonkey</a>
</dd></dl>
<p>{{ ajaxrss{ feed: 'http://developer.mozilla.org/webwatch/?cat=3&amp;feed=rss2' , short: true, max: '5', charset: 'UTF-8' } }}
<span class="alllinks"><a class="external" href="http://developer.mozilla.org/webwatch/?cat=3">View All...</a></span>
</p>
</td>
</tr>
</tbody></table>
<p><span class="comment">Categories</span>
</p><p><span class="comment">Interwiki Language Links</span>
</p><p><br>
</p>{{ wiki.languages( { "en": "en/JavaScript", "es": "es/JavaScript", "fr": "fr/JavaScript", "it": "it/JavaScript", "ja": "ja/JavaScript", "ko": "ko/JavaScript", "pl": "pl/JavaScript", "pt": "pt/JavaScript" } ) }}
恢复到这个版本