摘要: <!doctype html> <html> <head> <meta charset="utf-8"> <title>t1</title> <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scal 阅读全文
posted @ 2017-10-12 18:25 风吹麦浪打 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 数据排序这种东西一般都是后端去排序前端来调接口!0.0 闲的没事自己写了一个简单的排序 数组: 数组的原型: 调用时的第一个参数是你要排序的属性, 第二个参数是你要牲畜还是降序, 如果大于0,则是升序,小于0,则是降序,别小于零,console.log()的信息不好看。玩呢!0.0 阅读全文
posted @ 2017-10-12 17:17 风吹麦浪打 阅读(167) 评论(0) 推荐(0) 编辑
摘要: const add1 = (x) => x + 1 const mul3 = (x) => x * 3 const div2 = (x) => x / 2 //每个函数都要return 进行传参数的 div2(mul3(add1(add1(0)))) // => 3 const compose = 阅读全文
posted @ 2017-10-12 16:26 风吹麦浪打 阅读(157) 评论(0) 推荐(0) 编辑
摘要: //cookieJar.set("sum","100",1) //console.log(cookieJar.get("sum")) //cookieJar.remove("sum") 函数 cookieJar 主体对象,cookieJar .set(name,value,days) 其中name 阅读全文
posted @ 2017-10-12 15:26 风吹麦浪打 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 测试了,ok的!0.0留下足迹!方便遗忘 阅读全文
posted @ 2017-10-12 15:07 风吹麦浪打 阅读(143) 评论(0) 推荐(0) 编辑
摘要: type = (obj) => { const pass1 = typeof obj if (pass1 != 'object') return pass1 const pass2 = obj == null ? 'null' : Object.getPrototypeOf(... 阅读全文
posted @ 2017-10-12 14:50 风吹麦浪打 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 点击 阅读全文
posted @ 2017-10-12 14:21 风吹麦浪打 阅读(385) 评论(0) 推荐(0) 编辑
摘要: Sortable. No jQuery. 发送 响应内容 Multi Group A 0000000000000000000000000 Group C ... 阅读全文
posted @ 2017-10-12 14:17 风吹麦浪打 阅读(66) 评论(0) 推荐(0) 编辑