Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 732821 of JavaScript

  • Revision slug: Web/JavaScript
  • Revision title: JavaScript
  • Revision id: 732821
  • Created:
  • Creator: lalit1505
  • Is current revision? हाँ
  • Comment

Revision Content

{{JsSidebar()}}

JavaScript® (often shortened to JS) is a lightweight, interpreted, object-oriented language with first-class functions, most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic, and supports object-oriented, imperative, and functional programming styles. Read more about JavaScript.

JavaScript का स्तर ECMAScript है. 2012 से, सभी आधुनिक ब्राउज़रों पूरी तरह से ECMAScript  5.1 सपोर्ट करते हैं। पुराने ब्राउज़र कम से कम  ECMAScript  3 सपोर्ट करते है | एक 6th प्रमुख संशोधन के कार्यों में है।

साइट के इस भाग में , JavaScript भाषा में ही करने के लिए समर्पित है वेब पृष्ठों, या अन्य मेजबान वातावरण के लिए विशिष्ट नहीं कर रहे हैं । वेब पृष्ठों के लिए विशिष्ट एपीआई के बारे में जानकारी के लिए,  Web APIs और DOM देखे.

जावास्क्रिप्ट और  जावा प्रोग्रामिंग भाषा के साथ कंफ्यूज होने की जरूरत नहीं है। जावा एक ट्रेडमार्क या पंजीकृत ट्रेडमार्क अमेरिका और अन्य देशों में ऑरेकल का  है।

Tutorials

सीखे program with JavaScript.

Introductory

JavaScript Guide
आप जावास्क्रिप्ट में  नए हैं तो, इस गाइड की भाषा के माध्यम से चलना होगा।
JavaScript technologies overview
आप जावास्क्रिप्ट के लिए नए हैं, इस गाइड की भाषा के माध्यम से चलना होगा।
Introduction to Object Oriented JavaScript
जावास्क्रिप्ट में वस्तु उन्मुख प्रोग्रामिंग की अवधारणाओं का परिचय

Intermediate

A re-introduction to JavaScript
 overview-- उनके लिये जो पहले से ही  JavaScript जानते है |
JavaScript data structures
JavaScript  में उपलब्ध Data Structures का अवलोकन
Equality comparisons and when to use them
JavaScript तीन अलग अलग मूल्य तुलना आपरेशनों प्रदान करता है: strict equality using === and loose equality using ==.

Advanced

Inheritance and the prototype chain
व्यापक रूप से गलत समझा और कम अनुमान प्रोटोटाइप आधारित विरासत की व्याख्या
Strict mode
JavaScript का एक प्रतिबंधित संस्करण।
JavaScript typed arrays
JavaScript एक arrays टाइप का है और raw binary data एक्सेस करने के लिये मैकेनिज्म प्रदान करता है |
Memory Management
JavaScript में मेमोरी लाइफ साइकिल और गार्बेज  संग्रहण

Reference

पूरा JS reference डॉक्यूमेंटेशन ब्राउज करे|

Standard objects
गेट टू know स्टैण्डर्ड built in objectsArray, Boolean, Date, Error, Function, JSON, Math, Number, Object, RegExp, StringMap, Set, WeakMap, WeakSet, and others.
Expressions & operators
Learn more about the behavior of JavaScript's operators instanceof, typeof, new, this, and more.
Statements & declarations
Learn how do-while, for-in, for-of, try-catch, let, var, const, if-else, switch, and more JavaScript statements and keywords work.
Functions
Learn how to work with JS functions to develop your applications .

Tools & resources

Helpful tools while writing and debugging your JavaScript code.

Firefox Developer Tools
Scratchpad, Web Console, JavaScript Profiler, Debugger, and more.
Firebug
Edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.
JavaScript Shells
A JavaScript shell allows you to quickly test snippets of JavaScript code.
TogetherJS

Collaboration made easy.

Stack Overflow
Stack Overflow questions tagged with "JavaScript".
JavaScript versions and release notes
Browse JavaScript's feature history and implementation status.

{{CommunityBox("JavaScript", "js-engine.internals", "mozilla.dev.tech.js-engine.internals", "js", "ES discuss|https://esdiscuss.org/|esdiscuss.org|ECMAScript standard discussion mailing list||SpiderMonkey|https://wiki.mozilla.org/JavaScript|Project page|Contribute to the JavaScript Engine||Twitter|https://twitter.com/FirefoxNightly|@FirefoxNightly|Firefox Nightly updates on Twitter")}}

Revision Source

<div>{{JsSidebar()}}</div>

<div class="summary">
<p><strong>JavaScript</strong><sup>®</sup> (often shortened to <strong>JS</strong>) is a lightweight, interpreted, object-oriented language with <a href="https://en.wikipedia.org/wiki/First-class_functions" title="https://en.wikipedia.org/wiki/First-class_functions">first-class functions</a>, most known as the scripting language for Web pages, but <a class="external" href="https://en.wikipedia.org/wiki/JavaScript#Uses_outside_web_pages">used in many non-browser environments</a> as well such as <a class="external" href="https://nodejs.org/">node.js</a> or <a href="https://couchdb.apache.org">Apache CouchDB</a>. It is a <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Prototype-based" title="Prototype-based">prototype-based</a>, multi-paradigm scripting language that is dynamic, and supports object-oriented, imperative, and functional programming styles. Read more <a href="/en-US/docs/Web/JavaScript/About_JavaScript">about JavaScript</a>.</p>
</div>

<p>JavaScript का&nbsp;<span class="short_text" id="result_box" lang="hi"><span class="hps alt-edited">स्तर</span> </span> <a href="/en-US/docs/JavaScript/Language_Resources">ECMAScript है</a>. 2012 से, सभी आधुनिक ब्राउज़रों पूरी तरह से ECMAScript&nbsp; 5.1 सपोर्ट करते हैं। पुराने ब्राउज़र कम से कम&nbsp; ECMAScript&nbsp; 3 सपोर्ट करते है | एक 6th प्रमुख संशोधन के कार्यों में है।</p>

<p>साइट के इस भाग में , JavaScript भाषा में ही करने के लिए समर्पित है वेब पृष्ठों, या अन्य मेजबान वातावरण के लिए विशिष्ट नहीं कर रहे हैं । वेब पृष्ठों के लिए विशिष्ट एपीआई के बारे में जानकारी के लिए,&nbsp; <a href="/en-US/docs/Web/API">Web APIs</a> और <a href="/en-US/docs/Glossary/DOM">DOM</a> देखे.</p>

<p><span id="result_box" lang="hi"><span class="hps">जावास्क्रिप्ट और&nbsp;</span> <span class="hps">जावा प्रोग्रामिंग</span> <span class="hps">भाषा के साथ</span> <span class="hps">कंफ्यूज होने की</span> जरूरत <span class="hps">नहीं है।</span> <span class="hps">जावा</span> <span class="hps">एक ट्रेडमार्क या पंजीकृत</span> <span class="hps">ट्रेडमार्क</span></span><span lang="hi"> <span class="hps">अमेरिका</span> <span class="hps">और अन्य देशों में</span> <span class="hps">ऑरेकल</span> <span class="hps">का&nbsp;</span><span class="hps"> है।</span></span></p>

<div class="column-container">
<div class="column-half">
<h2 id="Creating" name="Creating">Tutorials</h2>

<p>सीखे program with JavaScript.</p>

<h3 id="Introductory">Introductory</h3>

<dl>
 <dt><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide">JavaScript Guide</a></dt>
 <dd><span id="result_box" lang="hi"><span class="hps">आप जावास्क्रिप्ट</span> <span class="hps">में&nbsp; नए हैं</span><span> तो, इस गाइड</span> <span class="hps">की भाषा के माध्यम</span> <span class="hps">से चलना होगा।</span></span></dd>
 <dt><a href="/en-US/docs/Web/JavaScript/JavaScript_technologies_overview">JavaScript technologies overview</a></dt>
 <dd><span id="result_box" lang="hi"><span class="hps">आप जावास्क्रिप्ट</span> <span class="hps">के लिए नए हैं</span><span>, इस गाइड</span> <span class="hps">की भाषा के माध्यम</span> <span class="hps">से चलना होगा।</span></span></dd>
 <dt><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript">Introduction to Object Oriented JavaScript</a></dt>
 <dd><span id="result_box" lang="hi"><span class="hps">जावास्क्रिप्ट में</span> <span class="hps">वस्तु</span> <span class="hps">उन्मुख प्रोग्रामिंग</span> <span class="hps">की अवधारणाओं</span> <span class="hps">का परिचय</span><span>।</span></span></dd>
</dl>

<h3 id="Intermediate">Intermediate</h3>

<dl>
 <dt><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript">A re-introduction to JavaScript</a></dt>
 <dd>&nbsp;overview<em>-- </em>उनके लिये जो पहले से ही&nbsp; JavaScript जानते है |</dd>
</dl>

<dl>
 <dt><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures">JavaScript data structures</a></dt>
 <dd><span class="short_text" id="result_box" lang="hi"><span class="hps">JavaScript&nbsp; में</span> <span class="hps">उपलब्ध</span> <span class="hps">Data Structures</span> <span class="hps">का अवलोकन</span></span></dd>
 <dt><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_when_to_use_them">Equality comparisons and when to use them</a></dt>
 <dd><span id="result_box" lang="hi"><span class="hps">JavaScript</span> <span class="hps">तीन अलग अलग</span> <span class="hps">मूल्य</span> <span class="hps">तुलना</span> <span class="hps">आपरेशनों</span> <span class="hps">प्रदान करता है</span></span>: strict equality using <code>===</code> and loose equality using <code>==.</code></dd>
</dl>

<h3 id="Advanced">Advanced</h3>

<dl>
 <dt><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Inheritance_and_the_prototype_chain">Inheritance and the prototype chain</a></dt>
 <dd><span id="result_box" lang="hi"><span class="hps">व्यापक रूप से</span> <span class="hps">गलत समझा</span> <span class="hps">और</span> <span class="hps">कम अनुमान</span> <span class="hps">प्रोटोटाइप</span> <span class="hps">आधारित</span> <span class="hps">विरासत</span> <span class="hps">की व्याख्या</span><span>।</span></span></dd>
 <dt><a href="/en-US/docs/Web/JavaScript/Reference/Strict_mode">Strict mode</a></dt>
 <dd><span class="short_text" id="result_box" lang="hi"><span class="hps">JavaScript का एक</span> <span class="hps">प्रतिबंधित</span> <span class="hps">संस्करण।</span></span></dd>
 <dt><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays">JavaScript typed arrays</a></dt>
 <dd>JavaScript एक arrays टाइप का है और raw binary data एक्सेस करने के लिये मैकेनिज्म प्रदान करता है |</dd>
 <dt><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management">Memory Management</a></dt>
 <dd><span id="result_box" lang="hi"><span class="hps">JavaScript में</span> <span class="hps">मेमोरी</span> <span class="hps">लाइफ साइकिल </span> <span class="hps">और</span> गार्बेज&nbsp;<span class="hps"> संग्रहण</span><span>।</span></span></dd>
</dl>
</div>

<div class="column-half">
<h2 id="Reference">Reference</h2>

<p>पूरा <a href="/en-US/docs/Web/JavaScript/Reference">JS reference</a> डॉक्यूमेंटेशन ब्राउज करे|</p>

<dl>
 <dt><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects">Standard objects</a></dt>
 <dd>गेट टू know स्टैण्डर्ड built in objects<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" title="The JavaScript Array global object is a constructor for arrays, which are high-level, list-like objects."><code>Array</code></a></code>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" title="The Boolean object is an object wrapper for a boolean value."><code>Boolean</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" title="Creates a JavaScript&nbsp;Date instance that represents a single moment in time. Date objects are based on a time value that is the number of milliseconds since 1 January, 1970 UTC."><code>Date</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error" title="The Error constructor creates an error object. Instances of Error objects are thrown when runtime errors occur. The Error object can also be used as a base objects for user-defined exceptions. See below for standard built-in error types."><code>Error</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function" title="The Function constructor creates a new Function object. In JavaScript every function is actually a Function object."><code>Function</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON" title="The JSON object contains methods for parsing JavaScript Object Notation (JSON) and converting values to JSON. It can't be called or constructed, and aside from its two method properties it has no interesting functionality of its own."><code>JSON</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math" title="Math is a built-in object that has properties and methods for mathematical constants and functions. Not a function object."><code>Math</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number" title="The Number JavaScript object is a wrapper object allowing you to work with numerical values. A Number object is created using the Number() constructor."><code>Number</code></a>, <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>Object</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp" title="The RegExp constructor creates a regular expression object for matching text with a pattern."><code>RegExp</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" title="The String global object is a constructor for strings, or a sequence of characters."><code>String</code></a>,&nbsp;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map" title="The Map object is a simple key/value map. Any value (both objects and primitive values) may be used as either a key or a value."><code>Map</code></a>, <code><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set">Set</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap" title="The WeakMap object is a collection of key/value pairs in which the keys are objects and the values can be arbitrary values."><code>WeakMap</code></a></code>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet" title="The WeakSet object lets you store weakly held objects in a collection."><code>WeakSet</code></a>, and others.</dd>
 <dt><a href="/en-US/docs/Web/JavaScript/Reference/Operators">Expressions &amp; operators</a></dt>
 <dd>Learn more about the behavior of JavaScript's operators <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof">instanceof</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof">typeof</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new">new</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this">this</a></code>, and more.</dd>
 <dt><a href="/en-US/docs/Web/JavaScript/Reference/Statements">Statements &amp; declarations</a></dt>
 <dd>Learn how <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/do...while">do-while</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in">for-in</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of">for-of</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch">try-catch</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let">let</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var">var</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const">const</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else">if-else</a></code>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch">switch</a></code>, and more JavaScript statements and keywords work.</dd>
 <dt><a href="/en-US/docs/Web/JavaScript/Reference/Functions">Functions</a></dt>
 <dd>Learn how to work with JS functions to develop your applications .</dd>
</dl>

<h2 id="Tools_.26_resources">Tools &amp; resources</h2>

<p>Helpful tools while writing and debugging your JavaScript code.</p>

<dl>
 <dt><a href="/en-US/docs/Tools">Firefox Developer Tools</a></dt>
 <dd><a href="/en-US/docs/Tools/Scratchpad">Scratchpad</a>, <a href="/en-US/docs/Tools/Web_Console">Web Console</a>, <a href="/en-US/docs/Tools/Profiler">JavaScript Profiler</a>, <a href="/en-US/docs/Tools/Debugger">Debugger</a>, and more.</dd>
 <dt><a class="external" href="https://www.getfirebug.com/">Firebug</a></dt>
 <dd>Edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.</dd>
 <dt><a href="/en-US/docs/Web/JavaScript/Shells">JavaScript Shells</a></dt>
 <dd>A JavaScript shell allows you to quickly test snippets of JavaScript code.</dd>
 <dt><a href="https://togetherjs.com/">TogetherJS</a></dt>
 <dd>
 <p class="hero-header-text large">Collaboration made easy.</p>
 </dd>
 <dt><a href="https://stackoverflow.com/questions/tagged/javascript">Stack Overflow</a></dt>
 <dd>Stack Overflow questions tagged with "JavaScript".</dd>
 <dt><a href="/en-US/docs/Web/JavaScript/New_in_JavaScript">JavaScript versions and release notes</a></dt>
 <dd>Browse JavaScript's feature history and implementation status.</dd>
</dl>
</div>
</div>

<p>{{CommunityBox("JavaScript", "js-engine.internals", "mozilla.dev.tech.js-engine.internals", "js", "ES discuss|https://esdiscuss.org/|esdiscuss.org|ECMAScript standard discussion mailing list||SpiderMonkey|https://wiki.mozilla.org/JavaScript|Project page|Contribute to the JavaScript Engine||Twitter|https://twitter.com/FirefoxNightly|@FirefoxNightly|Firefox Nightly updates on Twitter")}}</p>
Revert to this revision