摘要: Private variable in class: class field syntax: Previously you need to call 'super' But now, we don't need to, you can use classs field: Above two feat 阅读全文
posted @ 2019-05-10 22:39 Zhentiw 阅读(283) 评论(0) 推荐(0)
摘要: 125, how to conver to binary number? 阅读全文
posted @ 2019-05-10 21:50 Zhentiw 阅读(237) 评论(0) 推荐(0)
摘要: Take away from NGCONF talk. It is a good show case to how to use decorator. One take away is that we can use 'symbol' to uqine key. 阅读全文
posted @ 2019-05-10 20:08 Zhentiw 阅读(471) 评论(0) 推荐(0)
摘要: const log = console.log; // zero :: &fa.a const zero = f => x => x; // zero is F // once :: &fa.fa const once = f => x => f(x); // once it I // twice :: &fa.f(fa) const twice = f => x => f(f(x)); //... 阅读全文
posted @ 2019-05-10 14:34 Zhentiw 阅读(230) 评论(0) 推荐(0)