原文:http://arstechnica.com/journals/linux.ars/2007/08/27/javascript-for-all-ages?foo 1、objects and associative arrays javascript中,对象属性操作与数组很类似。 但 javascript也为我们做了一些工作,把 数字转化为字符串。不过还是建议自己写清楚 foo[1] == foo[(1).toString()] == foo['1']; 2、cute type conversions 这些基本我们都知道。 也可看看 http://www.jibbering.com/f ...
radar
搜索本博客
存档
最新评论