luke-codewalker / js-learnings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My JavaScript learnings

Just a collection of random quirks, properties or features of JavaScript that I stumble upon. These examples are just made to help myself better understand them and practice them a little.

Content

  • function-args.js: Different ways to handle arguments in functions
  • getters-and-setters.js: Defining Getters and Setters for object properties
  • object-assing.js: Covering the behavior of the Object.assign() method
  • proxy.js: What is the Proxy object and how to use it
  • classes.js: ES6 classes and their usage
  • iterators.js: a look at iterators
  • generators.js: a look at generators
  • symbols.js: what are Symbols and what makes them special

Notes

All files are written so you can use QuokkaJS to see necessary output etc. right in your editor. Since those are all console.log() or identifier expressions you can just run them in node or the browser as well.

About


Languages

Language:JavaScript 100.0%