摘要: Yahoo!的Exceptional Performance团队为改善Web性能带来最佳实践。他们为此进行了一系列的实验、开发了各种工具、写了大量的文章和博客并在各种会议上参与探讨。最佳实践的核心就是旨在提高网站性能。原版猛戳:Best Practices for Speeding Up Your ... 阅读全文
posted @ 2015-09-06 14:34 yxz_turing 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 两个特殊的符号'^'和'$'。他们的作用是分别指出一个字符串的开始和结束。例子如下:"^The":表示所有以"The"开始的字符串("There","The cat"等);"of despair$":表示所以以"of despair"结尾的字符串;"^abc$":表示开始和结尾都是"abc"的字符串... 阅读全文
posted @ 2015-09-06 11:42 yxz_turing 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 首先看一个例子:1 var student = {2 name:"yxz",3 age:254 }5 var newStudent = student;6 newStudent.sex = "male";7 console.log(student); //{name:"yxz",ag... 阅读全文
posted @ 2015-09-06 10:57 yxz_turing 阅读(13887) 评论(1) 推荐(0) 编辑