What's New in JavaScript
This document lists new features in JavaScript that are supported in both Internet Explorer 11 and Windows Store apps.
To find out which JavaScript elements are supported in Internet Explorer 11 but deprecated in Windows Store apps, see JavaScript Version Information.
Important
|
|---|
|
For information about how to create Windows Store apps built for Windows using JavaScript, including information about the Visual Studio JavaScript editor and other features, see Develop Windows Store apps using Visual Studio 2013. |
You can use the new let and const keywords to declare variables for which the scope is limited to the block in which they're declared. See let Statement (JavaScript) and const Statement (JavaScript).
You can create a collection of unique objects by using the Set Object (JavaScript) object, and you can create a collection of key/value pairs by using Map Object (JavaScript) or WeakMap Object (JavaScript).
Important