JSFoo: round the year submissions

JSFoo: round the year submissions

Submit talks on JavaScript and full stack engineering round the year

Di Wu


Closure vs. Prototype: Getting the best of both

Submitted Nov 12, 2017

There are two general approaches for defining objects in JavaScript: closure approach and prototype approach. This 4-min lightning talk will go over the characteristics of each approach. Then we’ll discuss forthcoming TC39 proposal which extends ES6 class, and hence combines the best qualities from each.


  • Introducing the two approaches
  • Introducing TC39 Proposal on Privacy
  • Do we ever need to use closure approach?
  • Wrap up with conclusion

Speaker bio

Software Engineer in Instance Messaging Team of Bloomberg L.P.


{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}