自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1683)
  • 收藏
  • 关注

转载 连续赋值与求值顺序var a = {n:1};a.x = a = {n:2}; alert(a.x); // --> undefined

(http://liunian.info/%E8%BF%9E%E7%BB%AD%E8%B5%8B%E5%80%BC%E4%B8%8E%E6%B1%82%E5%80%BC%E9%A1%BA%E5%BA%8F.html)看到一个2010 年的帖子[1],里面讨论了一段 JavaScript 代码:123var a= {n:1};a.x = a

2012-11-30 10:54:46 6077

转载 深入理解JavaScript系列(20):《你真懂JavaScript吗?》答案详解(http://www.cnblogs.com/TomXu/archive/2012/02/10/2342098.)

昨天发的《大叔手记(19):你真懂JavaScript吗?》里面的5个题目,有很多回答,发现强人还是很多的,很多人都全部答对了。今天我们来对这5个题目详细分析一下,希望对大家有所帮助。注:问题来自大名鼎鼎的前端架构师Baranovskiy的帖子《So, you think you know JavaScript?》。答案也是来自大名鼎鼎的JS牛人Nicholas C. Zaka

2012-11-30 10:05:48 2767

原创 The Quiz(http://dmitrysoshnikov.com/ecmascript/the-quiz/#q9)

1. What’s the result of: //stringtypeof typeof(null) ================Q1 Answer===============typeof 是操作符,会返回一个字符串结果表示操作数的类型。typeof(null)返回 "object”,所以 typeof "object"的结果是string2. Are the

2012-11-30 09:59:54 1540

转载 一个讨论引发关于js中函数声明,函数表达式,形参与变量声明赋值引发的一些事(http://www.cnblogs.com/zhouyongtao/archive/2012/11/22/2783089)

//Firefox 17下运行结果function a(){}undefined[function a(){}, 2, 3]ee4446 =======================================Answer=================================在js中所有函数声明(FD)和变量声明都被会提前,所谓的hoistin

2012-11-30 09:42:34 1567

原创 开始收集Javascript的各种疑难问题,并提供解答,有疑问以及新问题请直接跟帖,本人尽量提供回答。

1: 求解释{}和[]的诡异组合(http://blog.csdn.net/kittyjie/article/details/8241924)2:一个讨论引发关于js中函数声明,函数表达式,形参与变量声明赋值引发的一些事(http://blog.csdn.net/kittyjie/article/details/8241984)3:The Quiz(http://blog.csdn.net

2012-11-30 09:22:03 896

原创 求解释{}和[]的诡异组合(http://bbs.51js.com/thread-90593-1-1.html)

大神求解释:[]+[] = "" 这个可以理解为调用了toString{}+{}=NaN 这个就不懂了[]+{}=[object Object] 这是肿么了。。{}+[]=0 小弟崩溃了。。*$**)@&(|#)~这是种马回事啊?==============================================Answer===========

2012-11-30 09:18:40 3944

原创 Javascript Date 常用处理函数

//计算两个日期相差几天几小时Date.diffDayHourString = function(date1,date2){ var date3; if(typeof date1 == "object"){ date3=date2.getTime()-date1.getTime(); //时间差的毫秒数 } else{ date3=date2-date1; //时间差的毫秒数

2012-11-05 21:38:33 2316

转载 QQ协议的各种消息分析

很多人认为QQ的HTTP服务器是基于80口进行通信的(如:218.17.209.23:80),其实不是这样的,真正基于HTTP的服务器应该是:http://tqq.tencent.com:8000,它是一个通过8000口进行通讯的服务器。QQ的HTTP服务器并不支持HTTP协议中GET方法,它支持POST方法。所以我们要给QQ的HTTP协议传参数,那么就必需要用POST方式才行。   下面

2012-11-02 08:42:54 1420

angularjs,ionic,cordova 简单示例应用——CFTC持仓数据

CFTC持仓(欧元,英镑,澳元,黄金,白银,标普500等)

2015-08-20

Functional Programming in Swift (2014-10-01)

Functional Programming in Swift (2014-10-01)

2015-05-21

WIN7 财经日历Gadget

WIN7 财经日历 Gadget

2013-05-13

Pattern-Oriented Software Architecture(全5卷 英文)

经典之作,不用多说。 经典之作,不用多说。 经典之作,不用多说。

2010-05-21

浅析javascript原型继承机制

浅析javascript原型继承机制,浅析javascript原型继承机制

2009-07-26

js的中国农历,不错

js的中国农历,js的中国农历,js的中国农历

2009-05-05

IronPython2.0最新版本以及IDE等源码

IronPython2.0最新版本以及IDE等源码

2009-03-01

Windows.Vista.Security.Guide.2008

Windows.Vista.Security.Guide.2008

2009-02-28

Web Application Design Patterns

Web Application Design Patterns

2009-02-28

The.Creation.and.Science.of.Web.Design.Jan.2009

The.Creation.and.Science.of.Web.Design.Jan.2009

2009-02-28

Team Foundation Server 2008 in Action

Team Foundation Server 2008 in Action

2009-02-28

Struts 2 Design and Programming A Tutorial

Struts 2 Design and Programming A Tutorial

2009-02-28

Silverlight 2 in Action

Silverlight 2 in Action

2009-02-28

Programming Microsoft Dynamics CRM 4.0

Programming Microsoft Dynamics CRM 4.0

2009-02-28

Packt.Publishing.Learning.Website.Development.with.Django.Mar.2008

Packt.Publishing.Learning.Website.Development.with.Django.Mar.2008

2009-02-28

MS - Microsoft SQL Server 2008 T-SQL Fundamentals (2008.10).

MS - Microsoft SQL Server 2008 T-SQL Fundamentals (2008.10).

2009-02-28

Microsoft Visual Studio Tips

Microsoft Visual Studio Tips

2009-02-28

Microsoft Press - Microsoft Visual C# 2008 Express Edition Build a Program Now!.

Microsoft Press - Microsoft Visual C# 2008 Express Edition Build a Program Now!.

2009-02-28

Microsoft .NET Architecting Applications for the Enterprise

Microsoft .NET Architecting Applications for the Enterprise

2009-02-28

Manning.Hibernate.Search.In.Action.Dec.2008

Manning.Hibernate.Search.In.Action.Dec.2008

2009-02-28

Manning - Flex 3 In Action (2009.02).

Manning - Flex 3 In Action (2009.02).

2009-02-28

Foundation XML and E4X for Flash and Flex

Foundation XML and E4X for Flash and Flex

2009-02-28

GoF Design Patterns with examples using Java and UML2

GoF Design Patterns with examples using Java and UML2

2009-02-28

Exploring C++ The Programmer’s Introduction to C++.

Exploring C++ The Programmer’s Introduction to C++.

2009-02-28

Developing Service-Oriented AJAX Applications on the Microsoft Platform

Developing Service-Oriented AJAX Applications on the Microsoft Platform

2009-02-28

Building the Agile Enterprise With SOA, BPM and MBM

Building the Agile Enterprise With SOA, BPM and MBM

2009-02-28

Apress.Pro.Web 2.0.Mashups.2008

Apress.Pro.Web 2.0.Mashups.2008

2009-02-28

Apress.Pro.Oracle.Application.Express.Sep.2008.eBook-DDU

Apress.Pro.Oracle.Application.Express.Sep.2008.eBook-DDU

2009-02-28

Advanced Software Testing - Vol. 2

Advanced Software Testing - Vol. 2

2009-02-28

Linux&UnixShell

Linux&UnixShell,Linux&UnixShell

2009-02-23

Linux-101-Hacks

Linux-101-Hacks,Linux-101-Hacks

2009-02-23

jquery+prototype+插件+源码+资料

jquery+prototype+插件+源码+资料

2009-02-23

jQuery UI 1.6 - The User Interface Library for jQuery (Feb 2009)

jQuery UI 1.6 - The User Interface Library for jQuery (Feb 2009)

2009-02-23

iPhone Open Application Development Second Edition

iPhone Open Application Development Second Edition

2009-02-23

I.O.U.S.A. One Nation. Under Stress. In Debt

I.O.U.S.A. One Nation. Under Stress. In Debt

2009-02-23

HIGHTECH_MISERY_CHINA_WEB

HIGHTECH_MISERY_CHINA_WEB

2009-02-23

Delivering Business Intelligence with Microsoft SQL Server(TM) 2E 2008

Delivering Business Intelligence with Microsoft SQL Server(TM) 2E 2008

2009-02-23

Basics.Of.Compile.Design

Basics.Of.Compile.Design

2009-02-23

Apress[1].Pro.JavaScript.Design.Patterns.Dec.2007

Apress[1].Pro.JavaScript.Design.Patterns.Dec.2007

2009-02-23

多线程+Ajax技术 实现Web站点生成静态html页面

多线程+Ajax技术 实现Web站点生成静态html页面 解压密码为:17fx.net

2009-02-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除