I was wondering why Babylon is compiling in ES5 and not so in ES6 with class {}
I suppose it would reduce the weight of the file babylon.js and babylon.max.js
This would also increase the speed of code execution by the interpreter and reduce the memory stoker with local variables. because with ES5 all the variables, function are global.
By and large the use of prototypes in Javascript is over old.
It’s just a question from Babylon’s modernity, the code should also be with modern Javascript (ES6) that all modern browsers support (Chrome, Firefox, Opera …)
It should not change anything at the level of use.