- 博客(2)
- 收藏
- 关注
转载 Git冲突:commit your changes or stash them before you can merge.
今天用git pull来更新代码,遇到了下面的问题: error: Your local changes to the following files would be overwritten by merge: xxx/xxx/xxx.java Please, commit your changes or stash them before you can merge. Aborting
2017-10-12 15:21:31 201
转载 es6十大新特性
1. const和let关键字 const用于定义常量。 let用于定义变量。但是JavaScript中不是已经有变量了吗? 是的,这很正确,但用var声明的变量具有函数作用域,并会被提升到顶部。 这意味着在声明之前就可以使用这个变量。 let变量和常量具有块作用域(用{}包围),在声明之前不能被使用。 function f() { var x = 1 let y = 2 cons
2017-10-12 10:17:17 957
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人