O
O
Oleg Torbasov2016-10-15 13:35:28
JavaScript
Oleg Torbasov, 2016-10-15 13:35:28

Do I understand correctly that in Babel class inheritance breaks the function name for IE?

Babel implements the name property of IE functions using the babel-plugin-transform-es2015-function-name plugin. The problem arises when classes are inherited. If the code first asks for the name of the parent class, then the name of the child class turns out to be exactly the same, which, of course, is wrong.
Do I understand correctly that this is a Babel plugin bug?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question