There's also this one https://github.com/mping/5to6
Yes, And it's 3 days younger than xto6. It does not support function/prototype => classes. And also it is trying to encourage people to convert their ES5 codes into ES6 but it's implemented in ES5 itself !
Turn your ES5 code into readable ES6
11–20 of 31 posts
Re: Turn your ES5 code into readable ES6
#12Interesting idea, but the backwards compatibility of ES6 means that you can refactor a project piece by piece as you work on it - IMO that's a better approach.
Sure, but even just as a learning exercise it's fun to pass ES5 code through it, particularly for people not familiar with the new features in ES6. It could definitely do with a list of supported/unsupported functionality.
Re: Turn your ES5 code into readable ES6
#13Re: Turn your ES5 code into readable ES6
#14Re: Turn your ES5 code into readable ES6
#15Earlier quoted context omitted.
Yes, And it's 3 days younger than xto6. It does not support function/prototype => classes. And also it is trying to encourage people to convert their ES5 codes into ES6 but it's implemented in ES5 itself !
Don't take it as an attack, it's always better to have more choices and approaches to learn from, nobody is trying to diminish your work.
Re: Turn your ES5 code into readable ES6
#16Earlier quoted context omitted.
Yes, And it's 3 days younger than xto6. It does not support function/prototype => classes. And also it is trying to encourage people to convert their ES5 codes into ES6 but it's implemented in ES5 itself !
Don't take it as an attack, it's always better to have more choices and approaches to learn from, nobody is trying to diminish your work.
Re: Turn your ES5 code into readable ES6
#17Re: Turn your ES5 code into readable ES6
#18Re: Turn your ES5 code into readable ES6
#19I am asking as a poor JS developer - what are the benefits of this newer style?