Kin'blog

喜欢coding。喜欢大海。


  • Home

  • Archives

  • Brief

  • Tags

  • About

Ubuntu 14.04 安装 Atom

Posted on Aug 8 2014 |

Atom 是 github 内部的编辑软件。按照 Github 的说法,这是一款非同一般的编辑器,是 21 世纪的创新产品,他们希望将来“从菜鸟到黑客都在使用 Atom 编写代码”。

Read more »

javascript 中的 this 关键字

Posted on Aug 5 2014 |

what is this? 在 javascript 中,每个 function 都有一个 this 关键字的隐私绑定。当调用某个 function 时,这个 function 的 this 绑定将会被确定。

eg-1:

1
2
3
4
5
6
function test() {
console.log('this is ---', this);
}
test();
 
// this is ---Window {top: Window, window: Window, location: Location, external: Object, chrome: Object…}

eg-2:

1
2
3
4
5
6
7
8
var test2 = {
console: function () {
console.log('this is ---', this);
}
};
test2.console();
 
// this is ---Object {console: function}

Read more »

init blog

Posted on Aug 3 2014 |

借助着开源,搭建好了自己的博客。以后将会在这里,记录知识和回忆。
感谢 Hexo,感谢 NexT.Mist,感谢 GitHub,感谢 Markdown,感谢开源组织。

Read more »
1…12131415
aikin

aikin

45 posts
60 tags
RSS
GitHub Segmentfault
© 2019 aikin
Powered by Hexo
Theme - NexT.Mist