几个常用的快捷键

打开Chrome跨域模式 要关闭浏览器所有页面才会执行 1 open -n "/Applications/Google Chrome.app" --args --disable-web-security --user-data-dir=/Users/jeffrey/MyChromeDevUserData/ vscode快捷键 command + left/right: 一行左右切换 option + left/right: 单词切分,左右切换 option + delete: del

Javascript之模拟实现

模拟实现call 1 2 3 4 5 6 7 8 9 10 11 12 Function.prototype.myCall = function(context) { // 判断调用call的函数(也就是this)是否是函数 if(typeof this === 'function') { throw new TypeError('Error') } context = context || window context.fn = this const args =

一无所有

今年,我二十六周岁。一无所有。

跟身边的朋友聊聊近况,有些人在得瑟自己在大厂搬砖拿着不错的薪水,有些人在感叹生活不易能活着就好了。但很少人跟我聊,他们这一生要做些什么事情,他们喜欢做什么。这也是我一直在探寻的问题,独处的时候,内心深处总有一个声音在逼问你,你这一生,想做些什么?

Document, don't create

Store 1 const store = createStore(reducer) 有三个方法:getState(获取),dispatch(更改),subscribe(订阅) Actions 行为, Reducer 接收两个参数:state,a

Document, don't create

最近,看到GaryVee的一个观点: document, don’t create (记录,而不是创造) 是的,每个人都在想着创造。创造是一个结果,而记录是一个过程。人们当然想