Open weituotian opened 5 years ago
great repo! and i have some suggest to improve it!
one user case:
var a = Math.ramdom(); var b = Math.ramdom(); if (a = a + 0.2, b = b + 0.1, a > b) { console.log('haha'); }
i want it to
var a = Math.ramdom(); var b = Math.ramdom(); a = a + 0.2; b = b + 0.1; if (a > b) { console.log('haha'); }
does it easy to do it?
it may hard to do it, if it can return an express statement and an ifStament, it would be easy more!
@wisec give you a tip: it is better to solve the problem about ast_reduce_scoped to handle return an arr
ast_reduce_scoped
great repo! and i have some suggest to improve it!
one user case:
i want it to
does it easy to do it?