- 博客(4)
- 资源 (1683)
- 收藏
- 关注
原创 JS循环引用的问题
面试的被问到这样一个问题:var a={b:1};a.b=a;问a最终是什么结果?可以猜一猜当时没有想到这个问题的答案,其实也简单,是个循环引用而已,就是自己引用自己,a最终是个无限的对象:{b:{b:{b:{b:{b........如果你用JSON.stringify打印,会报循环引用异常,当时我猜是堆栈溢出异常,又没猜对。但是你console.log不会有什
2017-06-29 21:59:51 4450
转载 大部分人都会做错的经典JS闭包面试题
http://www.cnblogs.com/xxcanghai/p/4991870.html目录由工作中演变而来的面试题JS中有几种函数创建函数的几种方式三个fun函数的关系是什么?函数作用域链的问题到底在调用哪个函数?后话由工作中演
2017-06-29 21:51:37 969
转载 一道常被人轻视的前端JS面试题
http://www.cnblogs.com/xxcanghai/p/5189353.html前言第一问第二问变量声明提升函数表达式第三问第四问第五问第六问构造函数的返回值第七问最后
2017-06-29 21:40:48 948
原创 JS中多继承的几种实现方法
先了模拟一下new操作符的作用:function Person(name){ this.name = name;}Person.prototype.say = function(){ console.log(this.name);}var p = new Person("KD");p.say();var obj = {}Object.setPrototypeOf(o
2017-06-16 09:12:35 9423 1
Functional Programming in Swift (2014-10-01)
2015-05-21
The.Creation.and.Science.of.Web.Design.Jan.2009
2009-02-28
Packt.Publishing.Learning.Website.Development.with.Django.Mar.2008
2009-02-28
MS - Microsoft SQL Server 2008 T-SQL Fundamentals (2008.10).
2009-02-28
Microsoft Press - Microsoft Visual C# 2008 Express Edition Build a Program Now!.
2009-02-28
Microsoft .NET Architecting Applications for the Enterprise
2009-02-28
GoF Design Patterns with examples using Java and UML2
2009-02-28
Exploring C++ The Programmer’s Introduction to C++.
2009-02-28
Developing Service-Oriented AJAX Applications on the Microsoft Platform
2009-02-28
Building the Agile Enterprise With SOA, BPM and MBM
2009-02-28
Apress.Pro.Oracle.Application.Express.Sep.2008.eBook-DDU
2009-02-28
jQuery UI 1.6 - The User Interface Library for jQuery (Feb 2009)
2009-02-23
iPhone Open Application Development Second Edition
2009-02-23
I.O.U.S.A. One Nation. Under Stress. In Debt
2009-02-23
Delivering Business Intelligence with Microsoft SQL Server(TM) 2E 2008
2009-02-23
Apress[1].Pro.JavaScript.Design.Patterns.Dec.2007
2009-02-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人