Home>
function () {
Let a= 1;
}
//Description
Function Clone () {
Let B= 1;
}

Balel converts like this:

Function Main () {
  Let a= 1;
} //Description
Function Clone () {
  Let B= 1;
}

and no matter, gulp-babel or not, even online converter

what's wrong?...

entithat2021-06-09 10:24:47

Why do you need Babel? Do not convert your code with third-party pribludes and then it will be under your control.

Darth2021-06-09 10:26:12

I heard without Babel IE will swear, or is it in the past?

Нарбек Абдуллаев2021-06-09 10:30:19

Use a multi-line comment to describe the function, single-line to describe the string, Babel considered that you describe the string

Greg--2021-06-09 10:31:12

About swearing everything depends on the versions and what methods and how do you write the code and do you do support IE ...

Greg--2021-06-09 10:37:59