Antarts

Results 8 comments of Antarts

github wiki 变成存放图片的地方,在github上看不见,这叫“金屋藏娇”,哈哈哈。

哇哦,你都看到这里了,想必也很想试试咯,可以看看我总结的小教程:[让github-wiki变成图床](https://github.com/xugy0926/getting-started-with-javascript/blob/master/topics/%E8%AE%A9github-wiki%E5%8F%98%E6%88%90%E5%9B%BE%E5%BA%8A.md)

把"===" 换成"=="

@Dream4ever 我是把仓库地址上的 `https://` 换成 `git@ `才成功,也不知道为什么😂

原来是我的git代理出了问题,取消代理就可以了。 `git config --global --unset https.proxy` 这里是[方法出处](https://gist.github.com/laispace/666dd7b27e9116faece6)

* 属性定义一个对象: ``` var obj = { name: 'xiaoming', age: 18, isStudent: true } ``` 对象的属性可以赋值函数,也称为“方法”;调用时很方便,用’对象名.属性名‘即可引用。 * 键值定义一个对象: ``` var obj = { "name": 'xiaoming', "age": 18, "isStudent": true }...

```javascript var obj = { count: 1 } function output(obj) { obj.count = obj.count + 1; console.log(obj.count); } ``` 在上面代码之后,执行下面代码分别输出什么? ```javascript output(obj); console.log(obj.count); ``` ### 初步分析与实践 未运行之前,判断输出是:2,1; 可运行结果却是:2,2。 于是我重新录入变量和函数,这次把最后的两行代码调换一下: ```javascript...