摘要: 参考:https://blog.csdn.net/wang__junhappy/article/details/80315798 阅读全文
posted @ 2019-05-04 18:39 Samuel-Leung 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/mmzuo-798/p/7264093.html 阅读全文
posted @ 2019-05-04 18:23 Samuel-Leung 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1 java的作用域以代码块为作用域 也就是{} 2 python中是以函数作为作用域:比如 def func(): if 1==1: name="a" print(name) func() 不会报错 因为Python是以函数作为作用域 3 js和Python一样是以函数作为作用域的 ps:(1) 阅读全文
posted @ 2019-05-04 17:09 Samuel-Leung 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/nxl0908/p/7245460.html 阅读全文
posted @ 2019-05-04 14:20 Samuel-Leung 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.cnblogs.com/wupeiqi/articles/5713330.html 阅读全文
posted @ 2019-05-04 13:02 Samuel-Leung 阅读(174) 评论(0) 推荐(0) 编辑