Skip to content

Instantly share code, notes, and snippets.

@viswesh
Last active September 11, 2017 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viswesh/0f43db1dee45b938e1929d3278754fba to your computer and use it in GitHub Desktop.
Save viswesh/0f43db1dee45b938e1929d3278754fba to your computer and use it in GitHub Desktop.
ES6 Arrow sample
var store = {
  _language: “JavaScript”,
   _features: [],
   displayFeatures() {
     this._features.forEach((feature, index) =>console.info(this._language + feature + index+ “ ”+ feature))
   }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment