[x3d-public] interfaces in ES6

John Carlson yottzumm at gmail.com
Mon Aug 31 17:27:37 PDT 2020


So to add interfaces to ES6, it looks like the easiest way to do it is keep
a list of interfaces in each class, and compare the interface you're trying
to see if your class implements to the list.  You just check to see if the
interface is in the interface list for the class.

Is it that simple?

Thanks,

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200831/42d6e541/attachment.html>


More information about the x3d-public mailing list