摘要:
首先Wiki里对Curring(科里化)的定义:Curryingis the technique of transforming afunctionthat takes multipleargumentsin such a way that it can be called as a chain of functions each with a single argument.意思是:将多拥有多个... 阅读全文
随笔档案-2009年08月
正则表达式match和exec
2009-08-08 00:45 by BlueDream, 6149 阅读, 收藏, 编辑
摘要:
match和exec进行匹配.返回的都是匹配数组但却有着区别.让我们分析下.1.matchmatch方法属于String正则表达方法. 语法: str.match(regexp)str:要进行匹配的字符串. regexp:一个正则表达式(或者由RegExp()构造成的正则表达式)match的用法主要区分就是,正则表达式是否有全局标示g.1)如果有g全局标志,那么返回的数组保存的是,所有匹配的内容.... 阅读全文
网址收集篇
2009-08-07 14:11 by BlueDream, 1058 阅读, 收藏, 编辑
摘要:
【javascript动画篇】http://www.jsanim.com/http://www.berniecode.com/writing/animator.htmlhttp://www.schillmania.com/projects/snowstorm/#customizinghttp://svn.coderepos.org/share/lang/javascript/jstweener/trunk/examples/transitions.html【javascript理论篇】http://bbs.51js.com/viewthread.php?tid=85310&highli 阅读全文