by BillinghamJ · 7y ago · 0 comments
The issue is when you use this pattern for initialising what are effectively classes. Then every time you use `new`, the functions have to be wrapped again.
Idk where exactly you were taught this, or if you did not read my whole speil about that being memory/cpu tradeoff.
i know i put up a wall of text, but if u have time to read one article on JS from all of this it is this article - https://medium.com/javascript-scene/common-misconceptions-ab...