See: https://github.com/CreatorVilius/ecmascript-proposals/blob/master/proposal-class-templates.md
I think having Class Templates in JavaScript would be awesome thing and should be implemented. But that’s just my opinion.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss