nix1947
12/20/2016 - 4:18 PM

Es6 cheatsheet

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