Home > Article > Web Front-end > Does hbuilder support es6?
hbuilder supports es6. How to set JS to support es6 syntax: 1. When creating a project, directly set the Javascript version to "ECMAScript 6" in the syntax area of the pop-up interface; 2. If it is an already created project, select the project and right-click Click, click "Properties" - "Syntax & Framework", and change the Javascript version to "ECMAScript 6".
The operating environment of this tutorial: windows7 system, ECMAScript 6&&HBuilder version 9, Dell G3 computer.
HBuilder is a web development IDE launched by DCloud (Digital Paradise) that supports HTML5. HBuilder was written using Java, C, Web and Ruby. The main body of HBuilder itself is written in Java.
Fast is the biggest advantage of HBuilder. Through complete syntax prompts, code input methods, code blocks, etc., it greatly improves the development efficiency of HTML, js, and css.
Does hbuilder support es6
hbuilder supports es6. However, please note that if it is run on a mobile phone, it is recommended to compile it into ordinary js. Low-end mobile phones do not fully support es6.
HBuilder software sets JS to support ECMAScript6 syntax method
1. When the project is not created
When creating a project, directly select the Javascript version, as shown below:
2. Modify the created project
Select the project, Right-click [Properties -> Syntax & Framework - > Javascript Version] to modify.
Attachment: HBuilder plug-in installation
[Related recommendations: javascript video Tutorial、Programming Video】
The above is the detailed content of Does hbuilder support es6?. For more information, please follow other related articles on the PHP Chinese website!