摘要: 1.闭包function test(){ var num=100; function a(){ num ++; console.log(num); } function b(){ num --; console.log(num); } return [a,b];}var myArr=test();m 阅读全文
posted @ 2020-03-09 17:02 大树2 阅读(182) 评论(0) 推荐(0)