FIX: workaround constructor name not available after transpilation (PR #10623)

This is only reproducible en production build. In this case, constructor.name could be any value like “i” for example.

GitHub