1,function ,包括 arguments, caller,length,name
,prototype,__proto__,2,prototype,又分为constructor:function ()
{},__proto__:Object,3,__proto__从别的原型链继承过来可以直接...
分类:
其他好文 时间:
2014-06-29 13:59:16
阅读次数:
327
Follow up for "Unique Paths":Now consider if
some obstacles are added to the grids. How many unique paths would there be?An
obstacle and empty space i...
分类:
其他好文 时间:
2014-06-04 19:54:55
阅读次数:
258
You are climbing a stair case. It takesnsteps
to reach to the top.Each time you can either climb 1 or 2 steps. In how many
distinct ways can you climb...
分类:
其他好文 时间:
2014-06-04 19:53:34
阅读次数:
173
看过jQuery源码的人都知道类数组对象,与我们熟知的arguments对象很像构造一个类数组必须有两个条件第一个条件:你必须给对象定义个splice方法,只要他是一个function就可以第二个条件:就是赋值一个length属性,或者增加push,unshift,shift,pop其中任何一个方法...
分类:
编程语言 时间:
2014-06-03 12:33:35
阅读次数:
369
MyEclipse开发内存溢出问题window --> preferences -->
MyEclipse --> servers --> Tomcat --> JDK 里面在Optional Java VM arguments:
下面加如下内容:-Xmx512m -Xms256m -XX:MaxN...
分类:
系统相关 时间:
2014-06-03 08:07:18
阅读次数:
275
闭包是指有权访问另一个函数作用域中的变量的函数。创建闭包的常见方式为:在一个函数内部创建另一个函数。
“当某个函数被调用时,会创建一个执行环境(execution
context)及相应的作用域链。然后,使用arguments和其他命名参数的值来初始化函数的活动对象(activation ob...
分类:
编程语言 时间:
2014-05-30 20:20:13
阅读次数:
366
mysql too many open
connections问题解决方法。原文参考:http://www.jbxue.com/db/10068.html原因主要是:max_connections配置问题导致,它必须在[mysqld]下面才会生效。曾经以为在my.cnf写入max_connectio...
分类:
数据库 时间:
2014-05-30 05:22:53
阅读次数:
319
题意:what is the largest value ofksuch that there is
ak-clustering with spacing at least 3? That is, how many clusters are needed to
ensure that no pair...
分类:
其他好文 时间:
2014-05-29 20:39:26
阅读次数:
305
The sound of a mosquito can mean trouble in many
parts of the world.The bite of a mosquito can be deadly.Today, we will hear
about some of the disease...
分类:
其他好文 时间:
2014-05-29 18:03:42
阅读次数:
246
Treasure MapTime Limit:2 Seconds Memory Limit:32768
KBYour boss once had got many copies of a treasure map. Unfortunately, all the
copies are now brok...
分类:
其他好文 时间:
2014-05-29 04:02:47
阅读次数:
313