GitHub星探的头像 ID: 37471395415

GitHub星探

HelloWorld 社区成员

3182264732

文章1
个人网站0
加入社区2025

函数式编程之AOP面向切面编程

假设我们目前有一个小需求:实现目标函数调用前后的业务逻辑方法。<pre<code//intro实现test函数调用前后的业务逻辑方法;functiontest(){console.log(2);};//调用函数test();//expect期望输出如下//