mozilla
Your Search Results

    JavaScript

    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.

    The JavaScript standard is ECMAScript. As of 2012, all modern browsers fully support ECMAScript 5.1. Older browsers support at least ECMAScript 3. A 6th major revision of the standard is in the works and is expected to be finished around mid 2015.

    This section of the site is dedicated to the JavaScript language itself, the parts that are not specific to Web pages, or other host environments. For information about APIs specific to Web pages, please see Web APIs and DOM.

    JavaScript is not to be confused with the Java programming language. Java is a trademark or registered trademark of Oracle in the U.S. and other countries.

    Tutorials

    Learn how to program with JavaScript.

    Introductory

    JavaScript Guide
    If you are new to JavaScript, this guide will walk you through the language.
    JavaScript technologies overview
    Introduction to the web browser JavaScript landscape.
    Introduction to Object Oriented JavaScript
    Introduction to the concepts of object oriented programming in JavaScript.

    Intermediate

    A re-introduction to JavaScript
    An overview for those who think they know about JavaScript.
    JavaScript data structures
    Overview of available data structures in JavaScript.
    Equality comparisons and sameness
    JavaScript provides three different value-comparison operations: strict equality using === and loose equality using ==.

    Advanced

    Inheritance and the prototype chain
    Explanation of the widely misunderstood and under-estimated prototype-based inheritance.
    Strict mode
    A restricted variant of JavaScript.
    JavaScript typed arrays
    JavaScript typed arrays provide a mechanism for accessing raw binary data.
    Memory Management
    Memory life cycle and garbage collection in JavaScript.

    Reference

    Browse the complete JS reference documentation.

    Standard objects
    Get to know standard built-in objects Array, 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.

    Join the JavaScript community

    Choose your preferred method for joining the discussion:

    Document Tags and Contributors

    Contributors to this page: ashishbhatiya18, vergiltest, austincheney, Liekearends, Chris, jswisher, Sephr, phillshaffer, Verruckt, stephaniehobson, Justdave, boonlue, sunorry, allergic, Tallboy, saneyuki_s, firefoxapps, darrenmeehan, Sponnie, Deathwishx, Bogdan, slippyten, Sheppy, priscillas@gmail.com, TI3sjee1990, fscholz, danielmcgaw, gabriel_pipper, leobalter, Domecraft, shubendra, ashiq.techie, madhuri, paul.irish, Jesse, joemix, acwgdb, firabby, asanka-x, iHaris93, siple007, shri_rpi, gandalf, shneeple, jscape, sparky11478, mlex, morello, Minat, Cone, SphinxKnight, vergilistesting, jensen, smartmonkey, angel333, vergildj, Penny, jchris, websigh, LOVELEELATANYA, LoTD, marowilson, kunal_dhir, Brettz9, gando, manuel.aberg.cobo, Potappo, indrani7, tregagnon, akp, imonlhec22, Timmi, Nickolay, karedianoorsil, ilink, jkachel, justgage, teoli, anton, john_smith, AndreZSanchez, Dria, stealth, ethertank, gurudevsingh, xfq, irowe, pablofiumara, janlehnardt, tanusoha, Plexianth, pink_lebron, stork, dharam, markg, Dionys, jardrake, sonujaiswar, grimley517, nanibrahma, Sevenspade, Erdinc, phyllis.wilson@cpsb.org, pselle, galaxylord, jvns, Oliver_Propst, EmilyG, DavidWalsh, ercompton, ericmdn, MehLON, dmon2013, dbruant, jsx, 1marc, BijuGC, ChaitanyaGSNR, kojioj, Mgjbot, H3h, Ali.MD, qixin2003, Blakeross, Taken, JhonnyX2003, Johnsonne, Robindranatt, Pizdorvan, Pizdorvanec, Chbok, Prodoc, Mathieu Deaudelin, SpencerG, klokan, rdela, user01, Deltab, Khakman, Kaixin110, Azer, AndrewGoal, Dan Smith, Hamstersoup, Kray2, Eric Suen, JohnJBarton1, HeroreV, Bobbysmith007, Kyuzz, 행복한고니, Timcn, Shelby, Serginandr, Adriannecurry, Lizator, Daniel Biddle, RJacinto, Goodwill, Jeff Carr, Mykmelez1, Nevir, Justin Shreve, Stav, bingjie2680, jdaudier, kelunik, heath, fryn, AllenWB, Trasvina, desiree38@live.com, sychonet, wikilike7, BlindWanderer, vvsk, solarce, dflanagan, NISHANTSHRESHTH, haboqueferus, Fuzulli
    Last updated by: fscholz,
    Hide Sidebar