mozilla

Compare Revisions

JavaScript

Change Revisions

Revision 461967:

Revision 461967 by teoli on

Revision 463401:

Revision 463401 by karedianoorsil on

Title:
JavaScript
JavaScript
Slug:
Web/JavaScript
Web/JavaScript
Tags:
"Landing", "JavaScript"
"Landing", "JavaScript"
Content:

Revision 461967
Revision 463401
nn4 
5    <script type="text/javascript">
6 
7    var name=prompt("Enter your name");
8 
9    </script>
t7    <div class="callout-box">t
8      <strong><a href="/en-US/docs/Web/JavaScript/A_re-introducti
>on_to_JavaScript">A re-introduction to JavaScript</a></strong><br 
>> 
9      An overview for those who <em>think</em> they know about Ja
>vaScript 
10    </div>
11    <p>
12      <strong>JavaScript</strong><sup>®</sup> (often shortened to
> <strong>JS</strong>) is a lightweight, interpreted, object-orien 
>ted language with <a href="https://en.wikipedia.org/wiki/First-cl 
>ass_functions" title="https://en.wikipedia.org/wiki/First-class_f 
>unctions">first-class functions</a>, most known as the scripting  
>language for Web pages, but <a class="external" href="http://en.w 
>ikipedia.org/wiki/JavaScript#Uses_outside_web_pages">used in many 
> non-browser environments</a> as well such as <a class="external" 
> href="http://nodejs.org/">node.js</a> or <a href="http://couchdb 
>.apache.org">Apache CouchDB</a>. It is a <a class="mw-redirect" h 
>ref="https://en.wikipedia.org/wiki/Prototype-based" title="Protot 
>ype-based">prototype-based</a>, <a href="/en-US/docs/multiparadig 
>mlanguage.html" title="/en-US/docs/multiparadigmlanguage.html">mu 
>lti-paradigm</a> scripting language that is <span class="mw-redir 
>ect">dynamic</span>, is <a href="https://en.wikipedia.org/wiki/Ty 
>pe_safety" title="Type safety">type safe</a>, and supports object 
>-oriented, imperative, and functional programming styles. 
13    </p>
14    <p>
15      The JavaScript standard is <a href="/en-US/docs/JavaScript/
>Language_Resources">ECMAScript</a>. As of 2012, all modern browse 
>rs fully support ECMAScript 5.1. Older browsers support at least  
>ECMAScript 3. A 6th major revision of the standard is in the work 
>s. The current progress of different new and improved features ca 
>n be followed on the <a class="external" href="http://wiki.ecmasc 
>ript.org/doku.php?id=harmony:proposals">dedicated wiki</a>. 
16    </p>
17    <p>
18      This section of the site is dedicated to the JavaScript lan
>guage itself, the parts that are not specific to Web pages, or ot 
>her host environments. For information about APIs specific to Web 
> pages, please see <a href="/en-US/docs/DOM">DOM</a>. Read more a 
>bout how DOM and JavaScript fit together in the <a href="/en-US/d 
>ocs/Gecko_DOM_Reference/Introduction#DOM_and_JavaScript">DOM Refe 
>rence</a>. 
19    </p>
20    <table class="topicpage-table">
21      <tbody>
22        <tr>
23          <td>
24            <h2 class="Documentation" id="Documentation">
25              Documentation
26            </h2>
27            <dl>
28              <dt>
29                &nbsp;
30              </dt>
31              <dt>
32                <a href="/en-US/docs/Web/JavaScript/Guide">JavaSc
>ript Guide</a> 
33              </dt>
34              <dd>
35                If you are new to JavaScript, you should read thi
>s guide. 
36              </dd>
37            </dl>
38            <dl>
39              <dt>
40                <a href="/en-US/docs/Web/JavaScript/Reference">Ja
>vaScript Reference</a> 
41              </dt>
42              <dd>
43                This JavaScript reference includes complete docum
>entation for JavaScript 1.5 and updates. 
44              </dd>
45            </dl>
46            <h3 id="Introductory_articles">
47              Introductory articles
48            </h3>
49            <dl>
50              <dt>
51                <a href="/en-US/docs/JavaScript_technologies_over
>view">JavaScript technologies overview</a> 
52              </dt>
53              <dd>
54                Introduction to the web browser JavaScript landsc
>ape 
55              </dd>
56              <dt>
57                <a href="/en-US/docs/Web/JavaScript/Data_structur
>es">JavaScript data structures</a> 
58              </dt>
59              <dd>
60                Overview of available data structures in JavaScri
>pt 
61              </dd>
62              <dt>
63                <a href="/en-US/docs/Web/JavaScript/Guide/Inherit
>ance_and_the_prototype_chain">Inheritance and the prototype chain 
></a> 
64              </dt>
65              <dd>
66                Explanation of the widely misunderstood and under
>-estimated prototype-based inheritance 
67              </dd>
68            </dl>
69            <h3 id="Other_articles">
70              Other articles
71            </h3>
72            <dl>
73              <dt>
74                <a href="/en-US/docs/Canvas_tutorial">Canvas tuto
>rial</a> 
75              </dt>
76              <dd>
77                &lt;canvas&gt; is the HTML5 element which can be 
>used to draw graphics using scripting. It can, for instance be us 
>ed to draw graphs, make photo compositions or do simple (and not  
>so simple) animations. 
78              </dd>
79              <dt>
80                <a href="/en-US/docs/Web/JavaScript/Language_Reso
>urces">JavaScript Language Resources</a> 
81              </dt>
82              <dd>
83                A description of the JavaScript language standard
>s. 
84              </dd>
85              <dt>
86                <a class="external" href="http://msdn.microsoft.c
>om/en-us/library/ff405926.aspx">Internet Explorer Standards Suppo 
>rt Documents</a> 
87              </dt>
88              <dd>
89                Microsoft publishes documents that describe "vari
>ations, clarifications, and extensions to certain final approved  
>web standards supported by Internet Explorer." Of these, the ones 
> that are related to JavaScript are: 
90                <ul>
91                  <li>
92                    <a class="external" href="http://msdn.microso
>ft.com/en-us/library/ff520996.aspx">[MS-ES3]: Internet Explorer E 
>CMA-262 ECMAScript Language Specification Standards Support Docum 
>ent</a> 
93                  </li>
94                  <li>
95                    <a class="external" href="http://msdn.microso
>ft.com/en-us/library/ff521046.aspx">[MS-ES3EX]: Microsoft JScript 
> Extensions to the ECMAScript Language Specification Third Editio 
>n</a> 
96                  </li>
97                  <li>
98                    <a class="external" href="http://msdn.microso
>ft.com/en-us/library/ff960769.aspx">[MS-ES5]: Internet Explorer E 
>CMA-262 ECMAScript Language Specification (Fifth Edition) Standar 
>ds Support Document</a> 
99                  </li>
100                  <li>
101                    <a class="external" href="http://msdn.microso
>ft.com/en-us/library/ff955363.aspx">[MS-ES5EX]: Internet Explorer 
> Extensions to the ECMA-262 ECMAScript Language Specification (Fi 
>fth Edition)</a> 
102                  </li>
103                </ul>
104              </dd>
105            </dl>
106            <p>
107              <span class="alllinks"><a href="/en-US/docs/tag/Jav
>aScript">View All...</a></span> 
108            </p>
109          </td>
110          <td>
111            <h2 class="Tools" id="Tools_.26_advanced_resources">
112              Tools &amp; advanced resources
113            </h2>
114            <ul>
115              <li>
116                <a href="http://www.learnstreet.com/">LearnStreet
></a> - Free online JavaScript tutorials and practice exercises. 
117              </li>
118              <li>
119                <a href="http://www.codecademy.com/">Codecademy</
>a> - Free JavaScript course with interactive problems 
120              </li>
121              <li>
122                <a href="http://codeschool.com">Code School</a> -
> Learn by Doing, Multiple JS courses 
123              </li>
124              <li>
125                <a href="http://frontendmasters.com/" title="http
>://frontendmasters.com/">Frontend Masters</a> - Workshop videos o 
>n JavaScript and front-end web development 
126              </li>
127              <li>
128                <a href="http://www.letscodejavascript.com/" titl
>e="http://www.letscodejavascript.com/">Let’s Code: Test-Driven Ja 
>vaScript</a>&nbsp;-&nbsp;screencast series on rigorous, professio 
>nal JavaScript development 
129              </li>
130              <li>
131                <a class="link-https" href="https://github.com/rw
>ldrn/idiomatic.js">Idiomatic.js</a> - Principles of Writing Consi 
>stent, Idiomatic JavaScript 
132              </li>
133              <li>
134                <a href="/en-US/docs/JavaScript/Memory_Management
>">Memory Management in JavaScript</a> . Overview of how memory ma 
>nagement works in JavaScript 
135              </li>
136              <li>
137                <a class="external" href="http://www.getfirebug.c
>om/">Firebug</a> - JavaScript debugging and profiling 
138              </li>
139              <li>
140                <a href="/en-US/docs/Venkman">Venkman</a> - JavaS
>cript debugger 
141              </li>
142              <li>
143                <a href="/en-US/docs/JavaScript/Shells">JavaScrip
>t Shells</a> - test snippets of code 
144              </li>
145              <li>
146                <a class="external" href="http://jshint.com">JSHi
>nt</a> - a tool that helps to detect errors and potential problem 
>s in your JavaScript code 
147              </li>
148              <li>
149                <a class="external" href="http://www.jslint.com/l
>int.html">JSLint</a> - syntax checker, warns against bad practice 
>s 
150              </li>
151              <li>
152                <a class="external" href="http://code.google.com/
>p/jsdoc-toolkit/">JSDoc</a> - generate documentation from code 
153              </li>
154              <li>
155                <a class="external" href="http://online-marketing
>-technologies.com/tools/javascript-redirection-generator.html" ti 
>tle="JavaScript Redirect">JavaScript Redirect</a> - advanced Java 
>Script redirect tool 
156              </li>
157              <li>
158                <a class="external" href="http://www.aptana.com">
>Aptana Studio</a> - Open source IDE with Ajax and JavaScript supp 
>ort (based on eclipse) 
159              </li>
160              <li>
161                <a class="external" href="http://netbeans.org/fea
>tures/javascript/">Netbeans</a> - Open source IDE which includes  
>sophisticated JavaScript support 
162              </li>
163              <li>
164                <a class="external" href="http://www.eclipse.org/
>downloads/packages/eclipse-ide-javascript-web-developers/heliossr 
>1">Eclipse</a> - Open source IDE which includes JavaScript Develo 
>pment Toolkit 
165              </li>
166              <li>
167                <a class="external" href="http://www.c9.io">Cloud
>9 IDE</a> - Open source IDE that runs in the browser with JavaScr 
>ipt and Node.js support 
168              </li>
169              <li>
170                <a class="external" href="http://prettydiff.com/"
>>Pretty Diff</a> - a diff tool for comparing minified code to reg 
>ular code 
171              </li>
172              <li>
173                <a href="http://www.objectplayground.com/" title=
>"http://www.objectplayground.com/">Object Playground</a>&nbsp;-&n 
>bsp;A tool and screencast for understanding object oriented JavaS 
>cript 
174              </li>
175              <li>
176                <a class="link-https" href="https://addons.mozill
>a.org/en-US/firefox/addon/7434">Extension Developer's Extension</ 
>a> - Offers JS Environment and Shell 
177              </li>
178              <li>
179                <a href="http://boilerplatejs.org/">BoilerplateJS
></a> - Reference architecture for large scale JavaScript projects 
180              </li>
181              <li>
182                <a href="/en-US/docs/JavaScript/Other_JavaScript_
>tools">Other JavaScript tools</a> 
183              </li>
184            </ul>
185            <p>
186              <span class="alllinks"><a href="/en-US/docs/tag/Jav
>aScript:Tools">View All...</a></span> 
187            </p>
188            <h2 class="Community" id="Other resources" name="Othe
>r resources"> 
189              Other resources
190            </h2>
191            <dl>
192              <dt>
193                <a class="external" href="http://bonsaiden.github
>.com/JavaScript-Garden">JavaScript Garden</a> 
194              </dt>
195              <dd>
196                A site with helpful information about the more es
>oteric parts of JavaScript. 
197              </dd>
198              <dt>
199                <a class="link-https" href="https://github.com/be
>braw/jswiki/wiki">JSWiki</a> 
200              </dt>
201              <dd>
202                A Github-based wiki that indexes libraries and re
>sources. 
203              </dd>
204              <dt>
205                <a href="http://stackoverflow.com/questions/tagge
>d/javascript">Stack Overflow</a> 
206              </dt>
207              <dd>
208                A collaboratively built and maintained Q&amp;A si
>te and look if you can find the answer to your question. If not y 
>ou will be able to ask your question there. 
209              </dd>
210              <dt>
211                <a href="http://pineapple.io/resources/tagged/jav
>ascript?type=tutorials&amp;sort=all_time">Pineapple · JavaScript< 
>/a> 
212              </dt>
213              <dd>
214                A large database of current JavaScript tutorials 
>and resources. 
215              </dd>
216            </dl>
217            <h2 class="Related_Topics" id="Related_Topics" name="
>Related_Topics"> 
218              Related topics
219            </h2>
220            <ul>
221              <li>
222                <a href="/en-US/docs/AJAX">AJAX</a>, <a href="/en
>-US/docs/DOM">DOM</a>, <a class="internal" href="/en-US/docs/Java 
>Script/Server-Side_JavaScript">Server-Side JavaScript</a>, <a hre 
>f="/en-US/docs/DHTML">DHTML</a>, <a href="/en-US/docs/SpiderMonke 
>y">SpiderMonkey</a>, <a href="/en-US/docs/HTML/Canvas">Canvas</a> 
>, <a href="/en-US/docs/JavaScript/JQuery">JQuery</a> 
223              </li>
224            </ul>
225          </td>
226        </tr>
227      </tbody>
228    </table>
229    <p>
230      JavaScript is a trademark or registered trademark of Oracle
> in the U.S. and other countries. 
231    </p>

Back to History