sady's notebooks

  • ES6 Arrow Functions - /sady/es6-arrow-functions
    Last edited 7 months ago
    Arrow functions (also known as fat arrow functions) have a shorter syntax compared to traditional function expressions and lexically bind the this value. Arrow functions are also always anonymous. Here we are using the shortest form, where the body is a simple expression and we can drop the parenthesis around the parameter since there is only one:
  • ES6 Classes - /sady/es6-classes
    Last edited 7 months ago
    Classes are a shorthand that make it easier to work with JavaScript's existin prototypal inheritance.
  • My First Playground - /sady/my-first-playground
    Last edited 7 months ago
    This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out: