JSFoo Pune 2019

JSFoo is a JavaScript conference hosted by HasGeek.

JavaScript Symbol: more than a data type

Submitted by Madhusudhana Dollu (@madhudollu) on Oct 15, 2018

Section: Crisp talk Technical level: Intermediate Status: Under evaluation

Abstract

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!!

Links

Slides

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

Comments

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

{{ gettext('You need to be a participant to comment.') }}

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

{{ errorMsg }}