摘要:在使用GitHub的时候,为了避免每次输入用户名密码,都会使用SSH方式代替Https。 按网上教程,大多数使用SSH-KeyGen生成公私钥对,而后上传公钥至Github,并切换Repositorie为SSH. 使用SSH-KeyGen输出如下: Generating public/private
阅读全文
04 2018 档案
摘要:1. 原型Prototype 1.1 构造函数 所谓"构造函数",其实就是一个普通函数,但是内部使用了this变量。对构造函数使用new运算符,就能生成实例,并且this变量会绑定在实例对象上。 1.2 实例.constructor 每个构造函数生成实例的时候 会自带一个constructor属性
阅读全文
摘要:1. Chromium VS Chrome Chromium is an open-source Web browser project started by Google, to provide the source code for the proprietary Google Chrome b
阅读全文
摘要:What Sandbox Do? Sandbox leverages the OS-provided security to allow code execution that cannot make persistent changes to the computer or access info
阅读全文
摘要:花了一些时间把ECMA6的新特性进行了回顾,给自己建立了思维索引,大部分内容借鉴了阮一峰大神的博客。 refers: http://es6.ruanyifeng.com/#docs/arraybuffer
阅读全文