zzy0218

Results 2 comments of zzy0218

这个简单改造好像小时候玩的火柴拼公式。 ------------------- 20 ------------------- var b = 10; (function () { b = 20; console.log(b) })() ------------------- 10 ------------------- var b = 10; (function () { b => 20; console.log(b)...

应用到react上 ,观察者模式是不是就像父子组件传值 而发布订阅模式就像是组件之间信息通过redux传递呢。