Quantcast
Viewing all articles
Browse latest Browse all 56

Comment by Ben Aston on On a memory level, is there a difference between creating an object and creating a class instance in JS?

@MichaelVigato You'd have to look at engine source code IMO. Classes provide an alternative way to coordinate object instantiation, most of which is simply an encoding of specific steps that could be done without classes. But classes also provide features that are unique to classes and have no equivalent in ES5-style code.

Viewing all articles
Browse latest Browse all 56

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>