Skip to content

Instantly share code, notes, and snippets.

@nix1947
Last active December 20, 2016 18:15
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 nix1947/efb57e94a00ec542e6b2a63a2cf3336e to your computer and use it in GitHub Desktop.
Save nix1947/efb57e94a00ec542e6b2a63a2cf3336e to your computer and use it in GitHub Desktop.
Es6 cheatsheet
// Defining new function in Es6
// App is the
const App = () => {
return "Hello world";
}
// new keyword
const = "Title" // Can only assigned once.
// Exporting the module
/* file myname.js */
const NAME = "Manoj";
export default NAME;
// Es6 class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment