jsweet icon indicating copy to clipboard operation
jsweet copied to clipboard

Disabling creation of __class and __interfaces object properties

Open courteous opened this issue 5 years ago • 0 comments

special object properties

"__class" and "__interfaces"

When tranpiling java to javascript jsweet is creating for every class a special object properties called __interfaces and __class.

i.e. from here

"This interface tracking system is implemented as a special object property called __interfaces. Using that property, JSweet allows the use of the instanceof operator on interfaces like in Java."

Is there a way to disable the creation of those object properties?

courteous avatar Sep 10 '18 11:09 courteous