好好爱自己!

上一页 1 ··· 108 109 110 111 112 113 114 115 116 ··· 179 下一页
摘要: 这个大牛写的非常好!!推荐一下 http://www.cnblogs.com/xiaohuochai/tag/javascript%E6%80%BB%E7%BB%93/default.html?page=8 小火柴的蓝色理想 阅读全文
posted @ 2017-12-05 15:45 立志做一个好的程序员 阅读(199) 评论(0) 推荐(0)
摘要: 前面的话 大多数时候,我们对作用域产生混乱的主要原因是分不清楚应该按照函数位置的嵌套顺序,还是按照函数的调用顺序进行变量查找。再加上this机制的干扰,使得变量查找极易出错。这实际上是由两种作用域工作模型导致的,作用域分为词法作用域和动态作用域,分清这两种作用域模型就能够对变量查找过程有清晰的认识。 阅读全文
posted @ 2017-12-05 14:48 立志做一个好的程序员 阅读(244) 评论(0) 推荐(0)
摘要: 在javascript 里面, 函数中使用的未定义的变量,会默认变为全局的变量。 而通过 var 这个关键字定义的变量,就是局部变量。 As far as the output is concerned myVar and addMe both will be global variable in 阅读全文
posted @ 2017-12-05 14:18 立志做一个好的程序员 阅读(228) 评论(0) 推荐(0)
摘要: 原文: http://www.cnblogs.com/Lau7/p/7942100.html#undefined 闭包是JavaScript中一个基础概念,这是每个严格意思上的程序员都应该十分熟悉的。 网络上有很多文章介绍闭包是什么,但是很少有文章深入讲解为什么是这样的。 我发觉从根本上去理解一种技 阅读全文
posted @ 2017-12-05 14:09 立志做一个好的程序员 阅读(257) 评论(0) 推荐(0)
摘要: 参考: https://stackoverflow.com/questions/33524537/good-zookeeper-tutorial-with-java-client I was trying to use Zookeeper in our project. Could run the 阅读全文
posted @ 2017-11-29 20:23 立志做一个好的程序员 阅读(301) 评论(0) 推荐(0)
摘要: Sockets Tutorial This is a simple tutorial on using sockets for interprocess communication. The client server model by Robert Ingalls Most interproces 阅读全文
posted @ 2017-11-23 01:08 立志做一个好的程序员 阅读(229) 评论(0) 推荐(0)
摘要: WCHAN in ‘ps -l’ Posted on November 29, 2006 by awmanoj on Linux/x86, ps -l command gives a long listing. Field WCHAN in the listing caught my interes 阅读全文
posted @ 2017-11-23 01:03 立志做一个好的程序员 阅读(372) 评论(0) 推荐(0)
摘要: 坚持每天写日记, 提醒自己的内心: 孝顺父母, 感恩周围的人,放宽心胸,不计较。 背着自己的电脑去公司。保持工作上的事情的连贯性, 思维的连贯性。 阅读全文
posted @ 2017-11-19 13:36 立志做一个好的程序员 阅读(621) 评论(0) 推荐(0)
摘要: 一、ES6中的Promise 1、简介 2、基本用法 3、Promise.all()的用法 4、Promise.race()的用法 二、实现自己的Promise 1、基础实现 2、问题修复 3、考虑一种情况:如果回调函数注册的很晚会怎么样 4、Promise链 5、拒绝状态 6、处理resolve和 阅读全文
posted @ 2017-11-15 14:51 立志做一个好的程序员 阅读(498) 评论(0) 推荐(0)
摘要: https://stackoverflow.com/questions/36734900/what-happens-if-we-dont-resolve-or-reject-the-promise I have a scenario where I am returning a promise. T 阅读全文
posted @ 2017-11-15 09:39 立志做一个好的程序员 阅读(380) 评论(0) 推荐(0)
上一页 1 ··· 108 109 110 111 112 113 114 115 116 ··· 179 下一页

不断学习创作,与自己快乐相处