The difference in performance is negligible for all but the most demanding applications. In which case I would still use factory functions, but just be more careful.
I don't understand the need for the ever-growing list of "enhancements" to JS. Take Class for example.
Class is entirely unnecessary and, essentially, tries to turn JS into a class-oriented language from its core which is object-oriented.
I never create classes. I always create factory functions which, when appropriate, can accept other objects for composition.
And I don't use prototypes, because they are unnecessary as well. Thus sparing me the inconvenience, and potential issues, of using 'this'.
In my dreams those who want to turn JS into c# or Java should just create a language they like and stop piling on to JS.
But, at least so far, the core of JS has not been ruined.
That said, there are some new features I like. Promises/async/await, Map, Set, enhancements to Array being among them. But to my way of thinking they do not change the nature of the language in any way.
Hmmm, odd. I was under the impression they used cosine similarity based on page content. Once upon a time, based on that 'memory', I created a system to bin domain names into categories using cosine similarity. It worked surprising well.
I knew a woman who in 1970 was pulled over by the police in Altadena CA. They were particularly aggressive when it came to "hippies" and so she swallowed her entire cargo of LSD, which was, iirc, somewhere in the neighborhood of 20 hits.
She was out of commission for roughly 72 hours and months later still not back to normal, according to what she told me.