本月博客排行
-
第1名
wy_19921005 -
第2名
mft8899 -
第3名
java-007 - benladeng5225
- Anmin
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
benladeng5225 - wy_19921005
- vipbooks
- kaizi1992
- 青否云后端云
- e_e
- tanling8334
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- xiangjie88
- wallimn
- lemonhandsome
- ganxueyun
- jh108020
- Xeden
- xyuma
- wangchen.ily
- zhanjia
- johnsmith9th
- forestqqqq
- zxq_2017
- jbosscn
- daizj
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- kristy_yy
- jveqi
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- silverend
- chenqisdfx
- xiaoxinye
- flashsing123
- bosschen
- lyndon.lin
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
最新文章列表
建议使用 safari 3的朋友升到 4 preview
关键问题是 3 老是卡机 。打开一个网页就死在那了。看到有些资料说是对flash支持不好??
反正我是深受其害啊。总是看得兴致正浓时死掉。
下载4后,有2个文件一个是basic包,如果没有安装3的朋友安装这个包。
如果安装了3的,直接使用另外一个包advance包升级即可。
另外发现 我卸载3后 在使用basic包安装后出错,无法启动safari 。最后还是重新把3装上后,
再使用a ...
String.prototype.split
/*
官网原文:
ES3 states that “If separator is a regular expression that contains capturing parentheses, then each time separator is matched the results (including any undefined results) of the capt ...
Array.prototype.unshift
/*
官网原文:
Array.unshift prepends its arguments to the start of the array and is supposed to return the length of the resultant array. The returned value of this function call in JScript is “undefine ...
Array.prototype.join
/*
JScript does not default the separator to “,” if the separator value is undefined.
*/
var array = [1, 2];
alert(array.join());
alert(array.join(undefined));
alert(array.join('-'));
/*
...
The try statement:
/*
官网原文:
In JScript, the variable used to hold a caught exception is visible in the enclosing scope. The variable exists after the catch clause has finished executing but ceases to exist after the ...
Enumerating shadowed
/*
官网原文:
Custom properties that shadow [[DontEnum]] properties on Object.prototype are not enumerated using for-in. In the following example toString is a property available on Object.prototype and ...
Function Declarations within bodies
/*
官网原文:
When a function is defined using a function declaration, JScript binds the function to the global scope regardless of any scope changes introduced by with clauses.
*/
var v = 'va ...
Function Expressions scope
/*
官网原文:
In JScript the identifier in a function expression is visible in the enclosing scope because such expressions are treated as function declarations. Example:
*/
<script>
...
Array Initialiser 要小心
/*
Trailing commas in array literals add to the length, but they shouldn‟t. JScript treats the empty element after the trailing comma as undefined. Example:
*/
<script>
document.w ...
奇怪的 Arguments 对象
/*
注意每个浏览器的实现方式不同,他们处理的方法也不同.
官网原文:
There is no uniform handling of a variable named arguments amongst the various script engine implementations.
Example:
*/
<script>
func ...
注意字符串中的 "\"
/*
官网原文:
JScript allows C-style escaped newlines in string literals; according to ES3 this would be a syntax error for unterminated string constant
Example:
*/
<script>
...
特殊的转义字符 "\v"
/*
官网原文:
JScript does not support the \v vertical tab character as a white space character. It treats \v as v.
Example:
*/
<script> alert('\v supported ' + (String.fromCharC ...
Make an HTTP Request
[edit] Step 1 – How to Make an HTTP Request
In order to make an HTTP request to the server using JavaScript, you need an instance of a class that provides this functionality. Such a class was original ...
收藏了一些CSS常用的技巧
一、使用css缩写
使用缩写可以帮助减少你CSS文件的大小,更加容易阅读。
具体内容请浏览:CSS常用缩写语法
二、明确定义单位,除非值为0。
忘记定义尺寸的单位是CSS新手普遍的错误。在HTML中你可以只写width="100",但是在CSS中,你必须给一个准确的单位,比如:width:100px width:100em。只有两个例外情况可以不定义单位:0值。 ...
java script 继承的实现
ECMAScript 中实现继承的方式不止一种。这是因为 JavaScript 中的继承机制并不是明确规定的,而是通过模仿实现的。这意味着所有的继承细节并非由解释程序处理。
对象冒充--- 构造函数使用 this 关键字给所有属性和方法赋值(即采用类声明的构造函数方式)。因为构造函数只是一个函数,所以可使 ClassA 的构造函数成为 ClassB 的方法,然后调用它。 ClassB 就会 ...