Skip to content

Instantly share code, notes, and snippets.

@cryptoquick
Created November 28, 2015 05:48
Show Gist options
  • Save cryptoquick/08811ae627de06a57d64 to your computer and use it in GitHub Desktop.
Save cryptoquick/08811ae627de06a57d64 to your computer and use it in GitHub Desktop.
ES6 Notes

Terminal - Files

Permissions

File System Permissions

Useful Commands

  • which
    • Will locate the executable binary that is accessible by the shell as defined in the PATH.
    • echo $PATH
      • e.g. /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
      • Echoes a colon-delimited list of paths that should contain executable binaries.
  • ls -la
  • chmod
  • chown
  • chgrp

ES6

Modernizing JavaScript.

  • Classes
    • static methods
  • Modules
  • Block Scoping
    • let
    • const
  • String interpolation
  • Object destruction
  • Fat arrows
  • Default parameter values & Spread operators

String interpolation

  proces.env.PATH = `${process.env.PATH}:/usr/local/bin`;
  let html = `<div>${content}</div>`; // Not using quotes, using backticks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment