All-Indicators

experimental
experimentalBadge
warning
deprecated
draft
warning.warning-review
translationInProgress
note
obsolete
nonStandard
nonstandardBadge
privilegedBadge
install
secureContexts

inlineIndicator

experimental
experimentalBadge
deprecated

@extend %indicator-block;

blockIndicator
overheadIndicator
standardNoteBlock
inheritsbox
notice
note
warning
geckoVersionNote

Examples

var dv = Float64Array([1, 2, 3]);
// TypeError: calling a builtin Float64Array constructor
// without new is forbidden
var dv = new Float64Array([1, 2, 3]);

General

Note: Our Glossary provides terminology definitions.

Important: The content in the Learning Area is being added to regularly. If you have questions regarding topics you'd like to see covered or feel are missing, see the Contact us section below for information on how to get in touch.

Web Literacy Map
A framework for entry-level web literacy & 21st Century skills, which also provides access to teaching activities sorted by category.
Teaching activities
A series of teaching activities for teaching (and learning) created by the Mozilla Foundation, covering everything from basic web literacy and privacy to JavaScript and hacking Minecraft.
Edabit
Hundreds of free interactive coding challenges in various languages.

Deprecated since HTML5
This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

deprecated_generic  inline: Deprecated since HTML5

DeprecatedBadge:

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

non-standard_inline:

non-standardGeneric Non-standard

NonStandardBadge: Non-standard

Outdated

Warning: The content of this article may be out of date. It was last updated in 1999.

Obsolete

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Obsolete inline

obsolete_inline:

SeeCompatTable

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

experimental_inline

experimental_inline:

ExperimentalBadge

ExperimentalBadge: Experimental

Fx_minversion_note

Firefox 3 note

In Firefox 3 the callback is no longer invoked unless the website performing the installation is whitelisted.

geckoVersionNote

Gecko 1.9 note
(Firefox 3)

Everything in this div block is specific to Gecko 1.9. You can include pretty much anything in here, including code samples, headings, and other information, so it's good for everything from small blocks to very large sections of content about a specific Gecko version.

See, here's a code sample:

var foo = someFunction(bar);
if (foo) {
  foobar(foo);
} else {
  alert("No foo!");
}

See? Very nifty.

System messages

Well crap

An update to this document is currently in progress. If the content below seems stale or if something is missing, please reload this page in a few minutes.

There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

Anyone with an MDN profile can edit a document to fix an error. Use the KumaScript troubleshooting guide as a starting point.

  • Error type: DocumentParsingError
    In macro: (Edit Template)
    Parsing macro: () (Edit Document) Full text of error:
    Syntax error at line 15, column 67: Expected "}}" or [ \t\n\r;] but "<" found.
       13 | error message would go here

FYI

This article is in need of a technical review.

This article is in need of an editorial review.

 
Redirected from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/constructor

Draft

Draft
This page is not complete.

Special cases

Document Tags and Contributors

Contributors to this page: ExE-Boss, schalkneethling
Last updated by: ExE-Boss,