The Module pattern is used to mimic the concept of classes (since JavaScript doesn’t natively support classes) so that we can store both public and private methods and variables inside a single object.
Is this still pattern still necessary now that javascript has it's own native classes?
Aucun commentaire:
Enregistrer un commentaire