-
Hi,
I was looking through your code and I noticed that you use ES6, but only partially.
Is this done purposely?
-
Can you get one of the kids to enable es6?
-
## 运行环境
安装 node,并运行以下命令查看已经实现的ES6特性
``` sh
$ node --v8-options | grep harmony
```
运行js文件
``` sh
$ node --harmony --use-strict yourfilename.js
```
## let
1. let 声明的变量只在其所在的代码块中起作用。
2. 不存在变量提升,必须先声明…
-
- 打算把使用es6遇到的问题都记录在这里,好好总结下
箭头函数中 `(参数) => {函数体}` 如果=>后面没有{}的话 就直接是返回值 相当于return ,有{}就是函数体了不会自带return功能啦
-
Is it work with TypeScript and ES6 modules?
Because receive `D:/Main/telegrambot/node_modules/i18n-telegraf/lib/index.d.ts' is not a module`
-
@tristen I'm trying to use your `mapbox-gl-compare` tool using ES6.
Would be really nice if the end result would something like this:
``` es6
import mapboxgl from 'mapbox-gl'
import Compare from 'ma…
-
For anyone having problems during build with es6 modules, for example using vite, you can modify the code to make it work. Import leaflet in the .js file and replace the **_require_** function call in…
pmev0 updated
5 months ago
-
Using ES6 could cut down on the quantity and complexity of the code. We already have a build process so plugging in [babel](https://github.com/babel/babel) for transpiling would be trivial. Even bette…
-
I notice some of your files use es6 (const, let) and some do not. Probably best to agree as a group what convention you'll stick to and use it across the board. :-)
(We'll go into es6 syntax soon a…
-
# ES6
## ES6基础
- [ES6前言及准备](https://github.com/chaims/study/issues/40)(#40)
- [变量let&const](https://github.com/chaims/study/issues/53)(#53)
- [变量的解构赋值](https://github.com/chaims/study/issues/54)(#…