Sign in

Writer, Learner, JavaScript Developer, working on


  • Knowledge of HTML, CSS & JavaScript
  • Basic knowledge of React
  • Node & NPM installed on the local development machine.
  • Any code editor of your choice.

Photo by Christopher Gower on Unsplash


Photo by MORAN on Unsplash



  • Get Video Games from adjacent towns (somewhere far).
  • Get Chocolate from a nearby store.

And is it really so dangerous?

Photo by WOCinTech Chat on Flickr



Photo by Fernando Hernandez on Unsplash

Object literals are only the beginning

Photo by Markus Spiske on Unsplash
  1. Object Literals
  2. New Keyword
  3. Class

Object Literals

Shorthand property names

Photo by Alejandro Barba on Unsplash


Using sets to deal with unique elements in a dataset

Photo by JOSHUA COLEMAN on Unsplash

“Writing in ECMAScript language without understanding closure is like writing Java without understanding classes” — Douglas Crockford, father of JSON

Photo by Caspar Camille Rubin on Unsplash

Defining one of the key components in programming

Photo by Luca Bravo on Unsplash
  1. Function Declaration
  2. Function Expression
  3. Generator Function

1. Function Declaration

Syntax for Function Declarations

Ashutosh K Singh

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store