File | Settings | JavaScript
Ctrl+Alt+S
settings

Use the pages in this section to specify the JavaScript language version for your project and configure JavaScript support in it.

In this part:

ItemDescription
JavaScript Language version From this drop-down list, choose the JavaScript engine implementation to use in your project in accordance with the targeted environment. When you select an item in the list, the icons on the right of the field indicate the browsers that suit the selected JavaScript version, that is, support the features of the selected JavaScript engine implementation.

The available options are:

Prefer Strict mode Select this check box to have the strict mode standard applied to JavaScript code. This helps improve your code by enforcing best practices and suppressing insecure ones.

See Also

Language and Framework-Specific Guidelines:

Web Resources: