摘要:
全局function模式 module1.js//数据 let data = 'atguigu.com' //操作数据的函数 function foo() { console.log(`foo() ${data}`) } function bar() { console.log(`bar() ${d 阅读全文
posted @ 2023-11-01 15:57
啄木鸟伍迪
阅读(24)
评论(0)
推荐(0)
摘要:
装饰模式的基本结构 classDiagram class Component{ <<interface>> + operation(); } class ConcreateComponent{ + operation(); } class Decrator{ - Component componen 阅读全文
posted @ 2023-11-01 09:10
啄木鸟伍迪
阅读(15)
评论(0)
推荐(0)

浙公网安备 33010602011771号