GoGoCode is a transformer for JavaScript/Typescript/HTML based on AST but providing a more intuitive API.
5.47k
stars
417
forks
source link
Bug Report From Playground: 选择器var e = this.test(),对于var e = this.test('hello')[0]不生效 #204
Open
zhangdaren opened 1 year ago
使用下面代码处理后,只有第一行生效了,第二行不生效。
$(source).replace(`var e = this.test()`, 'aaaaa').generate()