Hibop Yuan

Results 81 comments of Hibop Yuan

**jsPlumb** [https://github.com/jsplumb/jsplumb](https://github.com/jsplumb/jsplumb) **dagre** [https://github.com/dagrejs/dagre/wiki](https://github.com/dagrejs/dagre/wiki)

```js var a = 0, b = 0; function A(a){ A = function (b){ alert(a + b++); } alert(a++); } A(1); A(2); ``` result: 1 4 1. 闭包, 第一次调用A时, A函数被重新赋值alert(a+b++);...

```js var n = 0; function a(){ var n = 1; function b(){ n++; alert(n); } b(); return b; } var clusure = a(); clusure(); alert(n); ``` result: 2 3...

```js var add = function (m) { var temp = function (n) { return add(m + n); } temp.toString = function () { return m; } return temp; }; add(3)(4)(5);...

#### AngularJS:何时应该使用Directive、Controller、Service? [http://angularjs.cn/A0kK](http://angularjs.cn/A0kK) #### 理解$watch ,$apply 和 $digest --- 理解数据绑定过程 [http://angularjs.cn/A0a6](http://angularjs.cn/A0a6)

#### 细说浏览器输入URL后发生了什么 [https://www.imooc.com/article/21340](https://www.imooc.com/article/21340)

## 常用lint、lock、yaml、json等配置文件: - eslintrc - stylelintrc - tslint.json - tsconfig.json - yarn.lock - package.json - README.md - CHANGELOG.md ## lint文件常用配置信息: - environment(环境变量) - globals(全局变量) - rules(规则) 。。。 ## lint的规则级别 -...

### React-router [https://www.jianshu.com/p/e3adc9b5f75c](https://www.jianshu.com/p/e3adc9b5f75c)

#### 再聊移动端页面的适配 [https://juejin.im/entry/5a9d07ee6fb9a028c149f55b](https://juejin.im/entry/5a9d07ee6fb9a028c149f55b)

#### 分享手淘过年项目中采用到的前端技术 [https://juejin.im/entry/5a9d07b76fb9a028cb2d2032](https://juejin.im/entry/5a9d07b76fb9a028cb2d2032)