JavaScript FunctionsNot like c#, less parameter(s) can be passed to a function, the omitted one(s) would be undefinedThere isn’t method overloading like c#, the latter definition simply makes the former one disappear.arguments object can be used within a function to check the parametersUsing the arg Read More
posted @ 2012-10-19 04:51 Jian, Li Views(296) Comments(0) Diggs(0)
JavaScript BasicsSpecial number valuesNote:10/0 doesn’t throw exception, it returns NaN insteadNaN doesn’t equal to NaNuse isNaN function to test NaNisNaN will coalesce string of numberFlow-control statements apply coalescing to booleanIn logical expression, the following values will be treated as f Read More
posted @ 2012-10-19 02:53 Jian, Li Views(228) Comments(0) Diggs(0)