---
schema_version: "1"
id: 01e971a2a557e12bcb116cb7dfb21d4f8583752108fbe951e92f1bf6182ab151
title: Supported JavaScript
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/js/js-supported-es.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/js-supported-es.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7e35a1734459e9fd98a13b5ad92e3f8845cae5f58b23bdfebd5c5d1f537fe1f9
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Supported JavaScript

The Aura Components programming model supports ES5 syntax and ES6 Promises.

For the most reliable experience, use ES5 to develop Aura components because the pipeline from authoring to serialization to execution was built for ES5. Promises from ES6 are also available. Using any other syntax or feature is not supported.

This developer guide explains how to develop Aura components and documents the JavaScript usage that's unique to the Aura Components programming model.

If you want to use ES6 or later for development, use the [Lightning Web Components](https://developer.salesforce.com/docs/component-library/documentation/lwc) programming model, which has been architected for modern JavaScript development.

**See Also**  


-   [Browser Support for Aura Components](https://developer.salesforce.com/docs/platform/aura-platform/intro/intro-browsers.md)

