JSFoo Pune 2019

JSFoo is a JavaScript conference hosted by HasGeek.

JavaScript Symbol: more than a data type

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

videocam_off

Technical level

Intermediate

Section

Crisp talk

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +10

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

Login with Twitter or Google to leave a comment