要想才为神,必须撑握AST
学习:
参考: https://segmentfault.com/a/1190000016231512?utm_source=tag-newest
AST:对象文档: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Parser_API#Node_objects
来源:oschina
链接:https://my.oschina.net/u/2285087/blog/4300524