idea can run es6. Setting method: 1. Click "File-settings" to enter the setting interface; 2. Click "Languages&Frameworks" and select the JavaScript language version content as "ECMAScript6".
The operating environment of this tutorial: Windows 10 system, ECMAScript version 6.0, Dell G3 computer.
Can idea run es6
Although I heard others say that idea2021 supports es6 by default, you still have to practice it yourself one time.
1. Click File-settings
to enter the settings interface
2. After entering the settings interface, click Languages&Frameworks, and then select the corresponding JavaScript language version is es6 (ECMAScript6) mode.
Ok, finish spreading flowers!
【Related recommendations: javascript video tutorial, web front-end】
The above is the detailed content of Can idea run es6?. For more information, please follow other related articles on the PHP Chinese website!