Andy

Results 13 comments of Andy

>合理min_uptime,min_uptime是应用正常启动的最小持续运行时长,超出此时间则被判定为异常启动; 应该是小于这个时间吧。

> 你们上面都不对,这个才是正确的。 > 时间复杂度 O(n) > > ```js > let insertSection = (...args) => { > let [ first, second ] = args > let res = [] > while...

```javascript function intersect(m,n){ let sortedM = m.sort((a,b)=>a-b); let sortedN = n.sort((a,b)=>a-b) const mLength = m.length; const nLength = n.length; const intersection = [] while(sortedM.length&&sortedN.length){ const a = sortedM[0]; const b...

> > O(min(n,m)) > > `function intersect(m,n){ let sortedM = m.sort((a,b)=>a-b); let sortedN = n.sort((a,b)=>a-b) const mLength = m.length; const nLength = n.length; const intersection = [] while(sortedM.length&&sortedN.length){ const a...

找了spec ![image](https://user-images.githubusercontent.com/9465232/57592726-cc88a080-756a-11e9-9e02-7dc6d9ac2c92.png) ![image](https://user-images.githubusercontent.com/9465232/57593081-70bf1700-756c-11e9-8199-0386076f9b3d.png) 其中forEach 里操作了toObject 以及判断是否终止循环条件比for loop 复杂一点。

@foxpsd 有没有试过 Access-Control-Expose-Headers 我目前碰到的问题是,跨域返回的响应头连set-cookie的字段都没有,很神奇

`f(); function f() { return scope; } var scope = "local scope";` 有个问题希望您能帮助我解答一下,这里f()返回了‘local scope’,但是按照作用域链那篇文章,在调用`f`时,这里的globalContext.VO中的`scope`应该是undefined的状态啊,怎么会返回‘local scope’呢?

@mqyqingfeng 唔,顺序错了 `f(); var scope = "local scope"; function f() { return scope; } ` 应该是这样

@brushbird 'abc' ++ --> NaN NANFalse 循环退出

你好我已经收到你的邮件了,我会在3个工作日内及时回复你~