摘要: https://www.cnblogs.com/linhaifeng/articles/6113086.html —————————————————————————————————————— 十、函数式编程 高阶函数:1.函数接收的参数是一个函数名 2.返回值中包含函数 满足条件之一就是高阶函数 # 阅读全文
posted @ 2018-05-30 22:54 小飞侠Kobe 阅读(242) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/linhaifeng/articles/6113086.html —————————————————————————————————————— 九、匿名函数 运行结果: 11 <function calc at 0x0000000002311D08>< 阅读全文
posted @ 2018-05-30 21:19 小飞侠Kobe 阅读(132) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/linhaifeng/articles/6113086.html —————————————————————————————————————— 八、函数的作用域 运行结果:in the test<function test1 at 0x0000021B 阅读全文
posted @ 2018-05-30 14:25 小飞侠Kobe 阅读(145) 评论(0) 推荐(0) 编辑