JSFoo Pune 2019

JSFoo Pune 2019

JSFoo is a JavaScript conference hosted by HasGeek.

Madhusudhana Dollu

@madhudollu

JavaScript Symbol: more than a data type

Submitted Oct 15, 2018

Symbol is a new primitive type introduced in ES2015 specification, which has with many special qualities. They can generally be used as object properties to avoid name collisions. And a few symbols are defined by the standard itself each of which has its own special purpose.
In this talk, we shall understand the Symbol type and the standard symbols of the language in detail. Also the use cases and application in our development process.

Outline

  • What are Symbols.
  • The motivation for bringing symbols.
  • Symbols with description vs key
  • Symbols as object properties
  • Symbols defined by the standard
    • Iterables and Symbol.iterator, Symbol.asyncIterator
    • Other symbols such as Symbol.match, Symbol.search
  • Using symbols in practice
  • Q & A.

Speaker bio

I am Madhu, a JavaScript Developer with 7+ years of full time experience and currently working at Pramati. Building applications with Angular, Vue and NodeJS. Open source enthusiast and loves everything about JavaScript!!

Slides

https://slides.com/madhusudhanadollu/javascript-symbols/fullscreen

Comments

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

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

{{ errorMsg }}

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

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more