Alan Chan

Results 2 issues of Alan Chan

- Issue Type: `Performance` - Extension Name: `bracket-pair-colorizer-2` - Extension Version: `0.0.28` - OS Version: `Darwin x64 18.5.0` - VSCode version: `1.33.1` :warning: Make sure to **attach** this file from...

[来源:Understanding ECMAScript 6 ](https://leanpub.com/understandinges6/read#leanpub-auto-class-declarations) 1. `class` 声明会提升,但不会初始化赋值。`Foo` 进入暂时性死区,类似于 `let`、`const` 声明变量。 ```javascript const bar = new Bar(); // it's ok function Bar() { this.bar = 42; } const foo = new...

JS基础