+ 4

babel

whats th need of babel in es6

24th Sep 2020, 8:35 PM
Dove
Dove - avatar
3 Answers
+ 6
Babel is a JavaScript compiler. It is stated clearly in their website. It compiles ES6+ code to ES5 https://babeljs.io/
24th Sep 2020, 8:40 PM
Ore
Ore - avatar
+ 7
LOL... It's sort of like a decompiler. đŸ€ŁđŸ˜‚ It's used to convert newer language features of Javascript that might not yet be supported across all browsers into the older ES5 version.
24th Sep 2020, 10:07 PM
David Carroll
David Carroll - avatar
+ 1
Ore thanks
24th Sep 2020, 8:50 PM
Dove
Dove - avatar