Home >Web Front-end >Front-end Q&A >Does hbuilder support es6?

Does hbuilder support es6?

青灯夜游
青灯夜游Original
2022-10-20 16:16:481571browse

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".

Does hbuilder support es6?

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:

Does hbuilder support es6?

2. Modify the created project

Select the project, Right-click [Properties -> Syntax & Framework - > Javascript Version] to modify.

Does hbuilder support es6?

Attachment: HBuilder plug-in installation

Does hbuilder support es6?

[Related recommendations: javascript video TutorialProgramming 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn