上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: // 工厂 function Person1(name, age, job) { let p = {}; p.name = name; p.age = age; p.job = job; p.say = function () { ... 阅读全文
posted @ 2019-05-15 21:15 famCc 阅读(169) 评论(0) 推荐(0) 编辑
摘要: *安装最新版的nodejs(保证7.6以上)。 *安装mongodb(建议安装3.4.x,因为我安装3.6版本的时候老是会卡在80%左右) 这是一个mongodb的教程 http://www.cnblogs.com/huangxincheng/archive/2012/02/18/2356595.h 阅读全文
posted @ 2018-03-15 18:19 famCc 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 1.安装weinre 2.启动weinre 3.在pc端浏览器中输入:localhost:8080 4.点击 debug client user interface 后面的链接 5.在需要调试的页面内部加入 6.在移动端浏览器中打开需要调试的页面(使用http-server链接的本地服务,所以我只要 阅读全文
posted @ 2018-03-01 15:45 famCc 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 客户端是用react实现的, 关键代码 websoket 阅读全文
posted @ 2018-02-05 11:51 famCc 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 原链接:http://www.cnblogs.com/bingwei/p/4830932.html 我修改了一点点,无聊将俩图片改成了css实现 链接: https://pan.baidu.com/s/1c2vVapE 密码: bf2f 效果图: 阅读全文
posted @ 2017-09-21 17:52 famCc 阅读(882) 评论(0) 推荐(0) 编辑
摘要: Math.abs() //Math.abs(x) x任意值 返回绝对值 Math.ceil()//Math.ceil(x) 向上取整,四舍五入 Math.cos()//余弦 Math.floor()//Math.floor(x) 向下取整 Math.max()// Math.max(...arg) 阅读全文
posted @ 2017-09-21 15:04 famCc 阅读(474) 评论(0) 推荐(0) 编辑
摘要: 数组方法: // arr = arr.concat(7,8) // arr = arr.concat([9,10]) // arr = arr.concat([11,12],[14,15]) // arr = arr.concat(13,[[14,15],16]) 阅读全文
posted @ 2017-09-18 17:02 famCc 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 当程序查询对象属性时调用get方法,如果只有get方法那么他是一个只读属性,//程序对对象属性进行赋值操作时调用set方法,如果只有set方法那么他是是一个只读属性 阅读全文
posted @ 2017-09-18 15:38 famCc 阅读(122) 评论(0) 推荐(0) 编辑
摘要: HTML CSS JS 阅读全文
posted @ 2017-09-12 15:59 famCc 阅读(182) 评论(0) 推荐(0) 编辑
摘要: var k = 1 var k = 2//没有任何错误 阅读全文
posted @ 2017-09-12 11:41 famCc 阅读(131) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页